Fix many bugs of filtering algorithm
Fix many bugs of filtering algorithm
Fix a sort method in sort_set()