Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

BlackBerry® OS Smartphones

Posts: 263
Registered: ‎10-27-2010
My Device: 8520

Sorting a listfield by name

Hi, I am developing an application to create a private contact book(not stored in native contacts) the thing is i successfully created contacts and showed in a list field using persistent store... I need to sort all contacts by name, in forums i searched there is simple sorting vector to sort a list field but there is not example on this... Can anyone tell me some example on this...

New Developer
Posts: 29
Registered: ‎07-18-2011
My Device: Torch
My Carrier: Developer

Re: Sorting a listfield by name

Hi you have sort the data ,not the labelfield