chart - sort by priority