Added sort to swig filters