Find the right sorting rules

Sorting rules