Changes to the menu structure and a function to limit the input
sorted Menu