Sort by total and show the top n entries