formatted output, O(n^2) bubblesort algorithm, figuring out either quick or bucketsort algorithms