reverse sort order: newer listed first

This commit is contained in:
Eric House 2016-09-02 21:32:31 -07:00
parent 8a00b1ab47
commit 575e64ed25

View file

@ -1630,7 +1630,7 @@ public class DBUtils {
initDB( context );
String[] columns = { ROW_ID };
String selection = String.format( "%s=%d", DBHelper.GROUPID, groupID );
String orderBy = String.format( "%s,%s DESC,%s", DBHelper.GAME_OVER,
String orderBy = String.format( "%s,%s DESC,%s DESC", DBHelper.GAME_OVER,
DBHelper.TURN_LOCAL, DBHelper.LASTMOVE );
synchronized( s_dbHelper ) {
SQLiteDatabase db = s_dbHelper.getReadableDatabase();