Returns pointer to element with specified index in sorted data sorted by actual criterium, or NULL on error. If necessary, function actualizes associated index table, so preliminary call to Sortsorteddata is not necessary. Function is very useful for extraction of selected element in table windows.
void* Getsortedbyselection(t_sorted *sd,int selection);
Parameters:
sd - pointer to descriptor of sorted data;
selection - zero-based index in data sorted by selected sort criterium.
See also: Sortsorteddata, Findsorteddata, Findsorteddatarange