Fixed sorting of nav