Use heapsort instead of qsort for Array.sort to follow JS for reasons described in http://bugzilla.mozilla.org/show_bug.cgi?id=99120
Use heapsort instead of qsort for Array.sort to follow JS for reasons described in http://bugzilla.mozilla.org/show_bug.cgi?id=99120

sam/htmlunit-rhino-fork,lv7777/egit_test,qhanam/rhino,sam/htmlunit-rhino-fork,tuchida/rhino,Angelfirenze/rhino,ashwinrayaprolu1984/rhino,qhanam/rhino,tuchida/rhino,tejassaoji/RhinoCoarseTainting,tntim96/rhino-apigee,sam/htmlunit-rhino-fork,Angelfirenze/rhino,tejassaoji/RhinoCoarseTainting,lv7777/egit_test,Pilarbrist/rhino,sam/htmlunit-rhino-fork,AlexTrotsenko/rhino,sainaen/rhino,tuchida/rhino,sam/htmlunit-rhino-fork,tntim96/rhino-jscover-repackaged,ashwinrayaprolu1984/rhino,jsdoc3/rhino,Angelfirenze/rhino,sainaen/rhino,AlexTrotsenko/rhino,InstantWebP2P/rhino-android,swannodette/rhino,Angelfirenze/rhino,tejassaoji/RhinoCoarseTainting,swannodette/rhino,ashwinrayaprolu1984/rhino,sainaen/rhino,tejassaoji/RhinoCoarseTainting,swannodette/rhino,jsdoc3/rhino,lv7777/egit_test,tuchida/rhino,swannodette/rhino,sainaen/rhino,Pilarbrist/rhino,Angelfirenze/rhino,tejassaoji/RhinoCoarseTainting,Pilarbrist/rhino,qhanam/rhino,AlexTrotsenko/rhino,Pilarbrist/rhino,jsdoc3/rhino,tntim96/htmlunit-rhino-fork,Distrotech/rhino,tntim96/rhino-apigee,Distrotech/rhino,tuchida/rhino,tntim96/htmlunit-rhino-fork,swannodette/rhino,lv7777/egit_test,ashwinrayaprolu1984/rhino,swannodette/rhino,tntim96/rhino-jscover,lv7777/egit_test,tntim96/rhino-jscover,lv7777/egit_test,sam/htmlunit-rhino-fork,Pilarbrist/rhino,Angelfirenze/rhino,tntim96/rhino-apigee,AlexTrotsenko/rhino,InstantWebP2P/rhino-android,Angelfirenze/rhino,ashwinrayaprolu1984/rhino,ashwinrayaprolu1984/rhino,swannodette/rhino,rasmuserik/rhino,Pilarbrist/rhino,tntim96/rhino-jscover-repackaged,AlexTrotsenko/rhino,qhanam/rhino,sam/htmlunit-rhino-fork,AlexTrotsenko/rhino,lv7777/egit_test,tejassaoji/RhinoCoarseTainting,ashwinrayaprolu1984/rhino,tuchida/rhino,rasmuserik/rhino,sainaen/rhino,tuchida/rhino,AlexTrotsenko/rhino,Pilarbrist/rhino,sainaen/rhino,tejassaoji/RhinoCoarseTainting,sainaen/rhino