Add specialized version of optimisticInsertionSort to use swaps, for ranges which don't support assignable elements.