What you're proposing is effectively extending the data manager to support multiple sort orders. That's not something I've tried, and I doubt it'd be easy to do. On the other hand, you could always use the existing APIs and build on top of that. For example, imagine an array or other list structure that contains the indices of the records in a specific secondary sort order. You could iterate through the values in this list, and for each one, get to the corresponding record reasonably quickly. Of course, you'd have to maintain the index, and that could be quite a challenge. If you stored the unique IDs of the records instead of the indices, then maintenance would be simple, but access would probably be prohibitively slow. -- Peter Epstein
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
