I am trying to make a sort of contacts list MIDlet. So far I been successful with adding new entries, and displaying contents of the RecordStore in the List.

Naturally, I would like to have an option for deleting entries. I have not seen any other delete methods besides deleting RecordStore entirely (not desirable) or deleting by record ID. Record ID would not be a bad option, but I don't see any way to reference to it, since record ID is assigned automaticaly, may not be consecutive (if any entries had been deleted previously) and is not passed with the entry.

Another question, is there an easy way to sort entries alphabetically?