The pseudocode you provided represents bubble sort.
In bubble sort, adjacent elements are compared, and if they are out of order (i.e., the first element is greater than the second), they are swapped. This process is repeated for all elements of the list until no more swaps are needed, which indicates that the list is sorted. The code snippet reflects the essence of this algorithm.