How to Sort Data in MySQL Using the ORDER BY Clause in PHP?
Order By clause is an another important clause. You can retrieve data in a particular order (ascending / descending). You can use order by clause on any column, you can use order by clause with more then one column too.