use quick sort iterative to replace build-in sort