sqlite3 - fixed raw order bys