MySql ORDER BY Clause in PHP.

The ORDER BY Clause can be used along with the SELECT statement to sort the data of specific fields in in ascending or descending order.

Code :