Add a (S)ort option to your menu. When it is chosen, it should call a function called sort_menu()