fixed minified js for sorting