procedure bubbleSort(A : list of sortable items) n = length(A) repeat ...

procedure bubbleSort(A : list of sortable items) n = length(A) repeat ...