def ordenamiento(lista):
    """Sorts a list of ints in ascending order.
    Big-O Complexity: O(n^2)"""
    for i in range(len(lista)):
        key = lista[i]
        j = i - 1

        while j >= 0 and lista[j] > key:
            lista[j + 1] = lista[j]
            j -= 1

        lista[j + 1] = key

    return lista