Function to sort authors by number of posts added