Sort the navbar