list is now ordered by priority