sorting columns for # of ratings and average rating