Hello,
Could you, please, provide screenshot of categories that you want to sort by name for better understanding?
Regards