Garry's Mod Wiki

DListView:SortByColumns

  DListView:SortByColumns( number column1 = nil, boolean descrending1 = false, number column2 = nil, boolean descrending2 = false, number column3 = nil, boolean descrending3 = false, number column4 = nil, boolean descrending4 = false )

Description

Sorts the list based on given columns.

All arguments are optional

Arguments

1 number column1 = nil
2 boolean descrending1 = false
3 number column2 = nil
4 boolean descrending2 = false
5 number column3 = nil
6 boolean descrending3 = false
7 number column4 = nil
8 boolean descrending4 = false