The order of component variants changed after publishing

We have the main component library that includes all the variants of the primary component. Recently, one of my team members mentioned that the order of the component variants has changed. I attempted to identify the issue by using the CTRL + P command along with all the repair commands. It indicated that something was fixed, but despite multiple attempts to resolve it with CTRL + P, it still isn’t functioning on the other files. However, it works perfectly fine locally. I’ve attached a video for better clarity. Tried on booth Figma desktop, Google chrome browser but it’s not working.

[Google Drive] Recording 2024-11-18 184727.mp4 - Google Drive

Reordering from the layer panel the components variants fixed this issue.

Thank you