At 11:04 AM -0400 8/7/01, Titus J. Anderson wrote:
>Or you could put some identifying information in the first two records and
>ALWAYS sort them first. For example, put something in the first record that
>signifies "first record". Same for the second. Use that as your initial
>sorting key and if neither of those tests pass, use your default sorting
>routine.
Categories will get you to the same place, assuming that you're not
using record categories for anything else. My current project uses
the category to note the record type, and then my sort function sorts
first by category, then by type-specific info within each category.
The category of a record is in the 4th and 5th args passed to your
DmComparF function.
----
Hal Mueller [EMAIL PROTECTED]
Mobile Geographics LLC http://www.mobilegeographics.com/
Seattle, Washington (206) 297-9575
Get CelestNav 2.2.2! http://www.mobilegeographics.com/celestnav/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/