Sorting works; toggling does not