period sorters