Added menu pre-processors, only sort the needed menu