Arrays can also be treated as a stream and subjected to the iterative sort rather than build a linked list from the array.