Add sorting logic. Limit results to 5