Garry's Mod Wiki

Revision Difference

DFileBrowser:SortFiles#553378

<function name="SortFiles" parent="DFileBrowser" type="panelfunc"> <ispanel>yes</ispanel>⤶ <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> <args> <arg name="descending" type="boolean" default="false">The sort order. `true` for descending (z-a), `false` for ascending (a-z).</arg> </args> </function>