fixed sortBy in pagination - needed to come before the drop and take calls.