You need to write a comparison function that is passed to DmQuickSort. See DmComparF in the docs. Basically, you write yourself a DmComparF which returns > 0 if rec1 > rec2, 0 if rec1=rec2, or < 0 if rec1 < rec2. Then DmQuickSort uses your comparison function to sort the records.
Cheers, -DGA -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
