fix sorting on menu