Använd field() : SELECT * FROM Vehicles WHERE MainGroup=Vehicle ORDER BY field(Subgroup, 'Car', 'Truck', 'Motorbike');