Garry's Mod Wiki

DListView:SortByColumn

  DListView:SortByColumn( number columnIndex, boolean descending = false )

Description

Sorts the items in the specified column.

Arguments

1 number columnIndex
The index of the column that should be sorted.
2 boolean descending = false
Whether the items should be sorted in descending order or not.