Docs.Python.org/3/library/stdtypes.html#list.sort
Docs.Oracle.com/javase/10/docs/api/java/util/Arrays.html#sort(T[],java.util.Comparator)