Given a set of instructions, output the instructions in order of priority, from the highest priority to the lowest priority.
Input: Answer phone, book flight, write report
Answer phone, book flight, write report (in order of priority).
Book flight, write report, answer phone.