Correct sorting of archive