Make the process simpler. Say you want to enable ajax pagination and you have used the Woo product sorting element it should then just work without the need to build a filter.
See NO BUG: Products Sorting is not working when ajax enabled within bricks query loop - #3 by Mike8040