转自: http://www.ruanyifeng.com/blog/2011/04/quicksort_in_javascript.html 转自:http://www.cnblogs.com/aaronjs/p/3539538.html