sorting and returning only the top 5 results