Controlling the order weights appear in software

Hi there! Wondering if there’s a way to control the order weights appear in software menus? I have an ornament set that I wish could show up last… should I just have it separate from the text weights? Thank you!
menuorder

In which app?

InDesign/Adobe

This is discussed at length in the Naming tutorial. In static fonts, the width and weight classes are respected. In variable fonts, it is the order of axes, and the respective axis positions of the instances.