Today I learned that there is a newish javascript array method toSorted() which is the "copying" or non-mutating version of sort().