Sort menu components in configuration editor