sort snap files