sortMenuItems (cmd plugs)