bring sorting to one file