swap with filtered and sorted field