Fixed sorting of period archives