sql order by this then this code example Example: sort order on two columns sql Sort by multiple column : ORDER BY column1 DESC, column2