Reordered based on priority