Set the sort name to of the last group