fix menu sorting