Implementing ordering of nav.