Update PopularSorting service to support both comment and post