If you want examples, see the source code for the example applications included with the SDK. For example, Memo Pad keeps it's records in alphabetic order if the user chooses that option in the preferences. Since the conduit places new memos at the end, Memo Pad must sort the database when HotSync has finished. If you look at the source code for Memo Pad, you should be able to find where it catches the sync notify launch code. This will lead you to an example of using quicksort with a very simple comparison function.
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
