Magnet-Sorting Algorithm for an Elliptically Polarized Undulator at TPS | IEEE Journals & Magazine | IEEE Xplore