Custom sorting?

My DB table has a “type” column that can receive 3 predefined values: company, team, employee.
I’d like to set up a sorting so that the records appear in that order.
If I use the basic sorting options are ascending and descending, the order would either be 1. company, 2. employe, 3. team, or vice-versa.
How do I set up a custom sorting order?