Very minor change in comment
Added private internalSort() toplevel method that takes a comparing() method. Changed toplevel sort() to use it.