fixing the order of the items on the sidebar