I've been reading some documentations here and really not been able to find a solution on how to order the results in a specific order of a field name. NOT ALPHABETICALLY in a descending nor ascending order. Wanted to have this result:
$models = Model::orderByRaw('FIELD(name, "Student", "Beginner", "Professional")')->get();
How can I achieve this? Thank you.