fix(engine): add missing filter query sorting

related to #CAM-2628