Added priority list sorter