I need to retrieve the results from my table in the following order
Active projects_status ASC
Expired projects_status DESC
Closed projects_status DESC
I know how to order by status:
ORDER BY CASE
WHEN projects_status = 'active' THEN 1
WHEN projects_status = 'expired' THEN 2
WHEN projects_status = 'closed' THEN 3
END
But when it comes to ASC and DESC I can't seem to be able to figure it out.