Introduction
We use ORDER BY to sort data in a table. ASC sorts from smallest to largest, DESC sorts from largest to smallest.
When you want to see a list of products sorted by price from low to high.
When you want to find the top scoring students by sorting scores from high to low.
When you want to organize a list of names alphabetically.
When you want to see recent orders first by sorting dates from newest to oldest.