Sorting properties groups.