quick sort & files to print