Sorts the view modes by the number of used regions.