Compare adjacent elements. If the first one is bigger than the second one, swap the two of them. Do the same work for each pair of adjacent elements, from the first pair at the beginning to the l
Compare adjacent elements. If the first one is bigger than the second one, swap the two of them. Do the same work for each pair of adjacent elements, from the first pair at the beginning to the l