I have a column in a database table that may contain one of a limited amount of strings: ["Recht", "Abteilung", "Strecke", "Stelle", "Gemarkung", ...].
I want to perform queries to the table that order the result according to this column, but not alphanumerical but user-defined, i.e. "Recht" before "Abteilung" followed by "Strecke" ...
Is it possible to use a user-defined order like this?