Concept Flow - Sort direction (asc, desc)
Receive API request with sort param
Check if sort param is 'desc'
Sort data descending
Return sorted data in response
END
The API receives a request with a sort direction parameter, checks if it is ascending or descending, sorts the data accordingly, and returns the sorted data.
