add some quick sorting