int Sortsorteddata(t_sorted *sd,int sort);

Sorts table of sorted data according to the specified criterium (usually this is the index of the column in the table) and restores correct selection. Note that if criterium remains unchanged, OllyDbg automatically resorts data whenever necessary.


(in) Pointer to the structure of type t_sorted, descriptor of sorted data
(in) Sorting criterium. Its meaning is defined by the sorting function associated with the data

Return values:

Returns 0 if index table remains unchanged and 1 if index was re-sorted

See also:
Sorted data, t_sorted