Cache Sort

flyingmg

Active Member
Hi List,

I am having a hard time to find a way to sort records in a cache. I know,they are already sorted by cache keys. However, sometimes I need sort them by a non-key field. Is anyone who have done that? Thanks for any help.

MG
B7332, SP13.3, Win2000/SQL2000

G
[email protected]
 
What you are probably looking for is a sort routine to sort the cache (array) in memory. I don't do a lot of OneWorld development so I do not have a OneWorld-specific example. Go to Sedgewick's (the algorithm Master's) page at http://www.cs.princeton.edu/~rs/. There are a number of sorting examples that should be of use.

Regards

Justin Miller
Teamspot Oy
[email protected]

working with B7332 and XE on AS/400, NT, Solaris and AIX
 
Back
Top