Fixed problems with interpolation in SortPlotsWindow