I am using this code-
myDB.rawQuery("SELECT * FROM " + TableName+ " ORDER BY "+ params[0], null);
to sort a table by columns and it works great except one of the columns is time (like in itunes) i.e. 2:35 for 2 minutes 35 seconds. This causes it to sort incorrectly. How can I sort it the proper way? I am using sqlite for android.