First version of menu reordering