Added method that gets posts for an author and sorts it by votes