Adjust repository sort.