bubblesort completed, substrings not completed