Garry's Mod Wiki

Revision Difference

DFileBrowser:SortFiles#568387

<function name="SortFiles" parent="DFileBrowser" type="panelfunc"> <description> Sorts the file list. <note>This is only functional when not using the model viewer. See <page>DFileBrowser:SetModels</page></note> </description> <realm>Client</realm> <file line="259-L265">lua/vgui/dfilebrowser.lua</file>⤶ <args> <arg name="descending" type="boolean" default="false">The sort order. `true` for descending (z-a), `false` for ascending (a-z).</arg> </args> </function>