Update summary for sort.