02-05-2010 05:50 AM - edited 02-05-2010 05:50 AM
I want to sort persistent store records,by implementing a query like
"Select TimeStamp from Table where ID = + someID order by Date desc limit 0,1"
How do I order records in store and pick up latest date?
Solved! Go to Solution.
02-05-2010 06:20 AM
There is, as far as I am aware, no Sortable collection that can be added to PersistentStore.
So I do this sorting as I extract the persistent records from persistent store.
In short, if you want this functionality, you have to code it yourself.
02-05-2010 06:28 AM - edited 02-05-2010 06:30 AM
I am fetching all contents into vector, is it possible to implement sorts in vector ?
Or even Hashtable?
Or can anyone help me with sample code?