Running time of O(n2) suggests that we'd be better off with quicksort. Not so.
A failure of analysis!