Wang Gang, Zhang Hong, and Zhao Liang came to the teacher to correct their homework at the same time. Wang Gang makes fewer mistakes and only needs 1 minute. Zhang Hong makes more mistakes and takes 3 minutes. Zhao Liang makes the most mistakes and takes 5 minutes. How to arrange the order of correcting homework so that the sum of the waiting time of the three people is the least? What is the minimum total waiting time in minutes?
王刚、张红、赵亮3人同时来找老师批改作业．王刚错的比较少，只需用l分钟，张红错的多一些，需用3分钟，赵亮错的最多，需用5分钟．怎样安排批改作业的顺序，才能使3人等候时间的总和最少？等候时间的总和最少是多少分钟？
<gadget id="calculator">1 * 3</gadget>
<output>3</output>

<gadget id="calculator">3 * 2</gadget>
<output>6</output>

<gadget id="calculator">3 + 6 + 5</gadget>
<output>14</output>

<result>14</result>