PIM-3197: add specs to the sorters and filters