Manage order of custom menu items

You probably want package ordering in your init calls. Note that this also affects the order that overlapping events are handled, so if you don’t reject() an event the lower modes in the stack won’t get those.

See 12.6
https://help.autodesk.com/view/SGSUB/ENU/?guid=SG_RV_rv_manuals_rv_reference_manual_chapter_twelve_html

Note that we use the sortKey “source_setup” and the sortOrder “20”. This will ensure that our additional sourceSetup runs after the default color management.The included optional package “ocio_source_setup” is a good example of a package that does additional source setup.

(note, I haven’t validated that, but likely a good candidate and only takes one extra line on each package to test, please let us know if that worked)