FIXED: Various issues around ORDER BY on multiple variables.