I have this:
class Movies { Name:String Date:Int }
and an array of [Movies]. How do I sort the array alphabetically by name? I\'ve trie
Most of these answers are wrong due to the failure to use a locale based comparison for sorting. Look at localizedStandardCompare()