如何用JS實現繁體中文字排序!
如何實現下面代碼當點擊工號、姓名、部門、職務按照相應點擊按鈕進行排序(繁體中文應按拼音排序)?
按 <input style= "cursor:hand; " class= "button2 " type= "button " value= "工號 " name= "btnTest " Title= "選擇 "> <input style= "cursor:hand; " class= "button2 " type= "button " value= "姓名 " name= "B3 " Title= "選擇 " OnClick= "SelGen( 'Cmd0 ') "> <input style= "cursor:hand; " class= "button2 " type= "button " value= "部門 " name= "B3 " Title= "選擇 " OnClick= "SelGen( 'Cmd0 ') "> <input style= "cursor:hand; " class= "button2 " type= "button " value= "職務 " name= "B3 " Title= "選擇 " OnClick= "SelGen( 'Cmd0 ') "> 排序
<select name= "GenSel " size= "10 " ondblclick= "SelGen( 'Cmd0 ') " style= "font-family: 細明體; font-size: 9pt; height: 450; width:100% " multiple>
<option value= "000195|高緒軍 "> 000195|高緒軍|品保部|員工 </option>
<option value= "000387|魏秀瓊 "> 000387|魏秀瓊|品保部|員工 </option>
<option value= "002341|閻花藏 "> 002341|閻花藏|品保部|員工 </option>
<option value= "003232|鄭光娥 "> 003232|鄭光娥|品保部|員工 </option>
<option value= "002575|吳玉麗 "> 002575|吳玉麗|品保部|員工 </option>
<option value= "000215|李瓊珍 "> 000215|李瓊珍|品保部|員工 </option>
<option value= "000047|韓付喜 "> 000047|韓付喜|品保部|組長 </option>
<option value= "000276|任小蓉 "> 000276|任小蓉|品保部|員工 </option>
<option value= "000384|辜建英 "> 000384|辜建英|品保部|員工 </option>
<option value= "000215|李瓊珍 "> 000215|李瓊珍|品保部|員工 </option>
<option value= "000047|韓付喜 "> 000047|韓付喜|品保部|組長 </option>
<option value= "000276|任小蓉 "> 000276|任小蓉|品保部|員工 </option>
<option value= "000384|辜建英 "> 000384|辜建英|品保部|員工 </option>
</select>
------解决方案--------------------按 <input style= "cursor:hand; " class= "button2 " type= "button " value= "