Sorted priorities by period