resort submenu

rearranges the order of the corresponding submenu entries

editing the submenu means adding a new entry, deleting an existing entry or changing the content of an existing entry

example link