set sort according to pageviews