Fixed way of sorting cells