Hi all,

I currently call qsort to sort an array of structures. It works fine, 
but I would like to sort multiple fields. Can this be done? Is there 
another, or better, sort available to do this? Do I somehow do this 
in my compareEntry routine?

Here is the call I am using currently: qsort(linedata, (bufcnt - 1), 
sizeof(ENTRY), compareEntry);

linedata is an array of (ENTRY) structures, bufcnt-1 is the number of 
structures to sort.


~Rick

Reply via email to