The school held a mathematics quick calculation relay competition. Five people including Wu Wei participated in the competition. Wu Wei needed 10 seconds, Fang Hao needed 14 seconds, Wang Jun needed 8 seconds, Xiao Ke needed 12 seconds, and Liu Han needed 16 seconds. , can the sum of the waiting time of five people be minimized?
学校开展数学速算接力赛，吴伟等五人参加比赛，吴伟需要10秒，方皓需要14秒，王军需要8秒，肖可需要12秒，刘寒需要16秒，按怎样的顺序参赛，能使五人的等候时间总和最少？
<gadget id="calculator">8 * 5</gadget>
<output>40</output>

<gadget id="calculator">10 * 4</gadget>
<output>40</output>

<gadget id="calculator">12 * 3</gadget>
<output>36</output>

<gadget id="calculator">14 * 2</gadget>
<output>28</output>

<gadget id="calculator">40 + 40 + 36 + 28 + 16</gadget>
<output>160</output>

<result>160</result>