sort pages in sidebar by url