Dear rohitrajstudios
Thanks for raising your concerns in Microsoft Community.
I understand that you are experiencing an issue with abnormal file sorting in OneDrive. This is indeed a troubling problem.
I tested it on OneDrive.com, synced folders, and mobile devices. The results show that the sorting of files is correct in OneDrive.com and the OneDrive folder on the computer. For example, the following figure:

But on mobile devices, the sorting is indeed wrong:

Therefore, I speculate that this is due to the different file name sorting algorithms on mobile devices. On mobile devices, the sorting will be sorted character by character according to the file name, rather than counting all the characters of the file name. Therefore, this situation occurs.
Because the system architecture of mobile devices and computers is different, there will be differences in the algorithms of some functions, but this does have an impact on viewing. We recommend that you give feedback to the development team on this issue so that the development team can understand the problem and improve it.
Send OneDrive Feedback - Microsoft Support
As an alternative, you can use OneDrive.com to view the correct sorting.
I hope this is helpful to you and don't hesitate to ask any questions. I look forward to hearing from you and will continue to assist you.
Best Regards,
Tracy - MSFT | Microsoft Community Support Specialist