1

Let's say I have these values in my database, column SCORE { 70, 90, 100 , 110, 80 } Why does when i use this code,

Cursor cursor = database.query(sqliteHelper.TABLE_SCORES, allColumns, null, null, null, null, sqliteHelper.SCORE + " DESC");

It was sorted like { 90,80,70,110,100 }

I think it sorts like that because 9>1?? How can I solve this?

camille
  • 17
  • 10

0 Answers0