Selected waveform indices are now sorted.