Xiao Huang, Xiao Qi, and Xiao Hong go to the school infirmary at the same time; it takes 6 minutes for Xiao Huang to get a wound, 2 minutes for Xiao Qi to get an injection, and 1 minute for Xiao Hong to change the dressing. What should be done to minimize the total waiting time of the three people? Sequence their visits?
小黄、小齐、小红同时到学校医务室；小黄包伤口要6分钟，小齐打针要2分钟，小红换药要1分钟，要使3人的等候时间的总和最少，应该怎样安排他们的就诊顺序？
<gadget id="calculator">1 * 3</gadget>
<output>3</output>

<gadget id="calculator">2 * 2</gadget>
<output>4</output>

<gadget id="calculator">6 * 1</gadget>
<output>6</output>

<gadget id="calculator">3 + 4 + 6</gadget>
<output>13</output>

<result>13</result>