filter and sort changes