SELECT * FROM table ORDER BY FIELD(status,'offline','available','busy','distance')
zie Mysql-volgorde op specifieke ID-waarden
SELECT * FROM table ORDER BY FIELD(status,'offline','available','busy','distance')
zie Mysql-volgorde op specifieke ID-waarden