fix bug when changing sort_by_k option

Now the currently selected parameters aren’t removed when changing
sorting options (in the multi parameter plot)