fix sorting of navigation