I met a problem on ordering a set of people by their job position, excepting someones with special credits. After some times of trial & error, I used a tricky technique named “Peculiar Calculus", that allows higher order person to be arranged in the more precedent place.
The problem was solved in SQL. The origin query was
Select * from some_table where some_criteria_fitted order by origin_orders;
and, supposing two guys named `a’ and `b’ respectively are peculiar men, the peculiar query is as
Select * from some_table where some_criteria_fitted order by name = ‘a’, name = ‘b’, origin_orders;
All right! It’s solved, and time is saved for enjoying my life.