How to use a secondary alphabetical sort on a string list of names?
问题 I'm trying a way that when given a string of names which are first and last names, where names are split by ; and first name split to last name by : -> "Fred:Corwill;Wilfred:Corwill;Barney:Tornbull;Betty:Tornbull;Bjon:Tornbull;Raphael:Corwill;Alfred:Corwill" I want to return a string which is sorted out all the names as uppercase and sorted alphabetically according to the last name and the ones that share the same last name then sort again (secondary sort) between the first names of the