test if applying a filter has permanently changed the original value
fix groupBy filter so it doesn't permanently mutate the list items
fix sort filter so it doesn't permanently mutate the list
Merge pull request #524 from wilsaj/fix-filter-mutation

fix value mutation in sort and groupBy filters