Why did the Supreme Court uphold States' right to sub-categorise SCs for quota benefits

Understanding the rationale behind the Supreme Court's decision on sub-categorisation of SCs for reservation benefits.