Here is one solution: use a hash to store the predetermined order - teacher's name as the key and the value could be an integer that determines the order.
In reply to Re: Sorting based on a specific order
by PeterPeiGuo
in thread Sorting based on a specific order
by byteflow
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |