Sorting on hr-solution