Sorting Fourier Series Fourier Transform