DtvLong dal_wdh_srt_lis (wdg, fld)

Sorts records in the widget for the entries in the field passed.

Input Parameters Significance
DtvLong wdg
fld
sort widget
sort field

Output Parameters Significance
none -

Return Code Significance
0 no error
1 nothing sorted

This function alphanumerically/numerically sorts the records for the entries in the field passed in ascending or descending order. When the function is called for the first time, the sort order will be ascending; after the second call it will be descending.