Garry's Mod Wiki

DListView_Line:SetSortValue

  DListView_Line:SetSortValue( number column, any data )

Description

Allows you to store data per column.

Used in the DListView:SortByColumn function in case you want to sort with something else than the text.

Arguments

1 number column
The number of the column to write the text from, starts with 1.
2 any data
Data for given column on the line you wish to set.