Sortsorteddata

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.


Parameters:

sd
(in) Pointer to the structure of type t_sorted, descriptor of sorted data
sort
(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