const arr = [ 'peach', 'straw', 'apple', 'spork'];arr.sort(stableSorting)// ["apple", "peach", "straw", "spork"]