Sort:  

That would not solve very much of the problem, but would at least be a first step.