styled navbar and implemented sort feature