Reorder the repository.