fixed controller spec to reflect new sorting measures