I have data in my database like this:
Alice
anderson
Beatrice
benny
Carmen
calzone
Using this code:
mDb.query(DATABASE_NAMES_TABLE, new String[] { KEY_ROWID,
KEY_NAME }, null, null,
null, null, KEY_NAME+ " ASC");
or this code with the filter being "":
mDb.query(true, DATABASE_NAMES_TABLE, new String[] { KEY_ROWID,
KEY_NAME }, KEY_NAME + " LIKE ?",
new String[] { filter+"%" }, null, null, null,
null);
It sorts the above data like this:
Alice
Beatrice
Carmen
anderson
benny
calzone
Is this normal behavior? How do I get it to sort to the above order where all the As and Bs and Cs are together? Thanks.