Garry's Mod Wiki

DFileBrowser:SortFiles

  DFileBrowser:SortFiles( boolean descending = false )

Description

Sorts the file list.

This is only functional when not using the model viewer. See DFileBrowser:SetModels

Arguments

1 boolean descending = false
The sort order. true for descending (z-a), false for ascending (a-z).