fix(engine): add missing filter query sorting

related to #CAM-2628
feat(rest): add filter rest resource

related to #CAM-2632