fixed the ordering on search results as well as listing papers by year

Before it was listed in descending order of paper_id, but we actually want it to descend by publication_year and then year_id.