mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-14 08:01:38 +01:00
sort by creation time rather than name
This commit is contained in:
parent
c9be5b464c
commit
3b78bab89d
1 changed files with 1 additions and 1 deletions
|
@ -540,7 +540,7 @@ public class DBUtils {
|
|||
SQLiteDatabase db = s_dbHelper.getReadableDatabase();
|
||||
|
||||
String[] columns = { DBHelper.FILE_NAME };
|
||||
String orderBy = DBHelper.FILE_NAME + " DESC";
|
||||
String orderBy = DBHelper.CREATE_TIME + " DESC";
|
||||
Cursor cursor = db.query( DBHelper.TABLE_NAME_SUM, columns,
|
||||
null, null, null, null, orderBy );
|
||||
if ( 0 < cursor.getCount() ) {
|
||||
|
|
Loading…
Reference in a new issue