Failed Sort - Bug Fixing #4
Oh no, Timmy's Sort doesn't seem to be working? Your task is to fix the sortArray function to sort all numbers in ascending order

Difficulty: introductory

Starter code:

def sort_array(value):
	

Solutions:
def sort_array(value):
    return "".join(sorted(value))

sort_array=lambda v: "".join(sorted(v))

def sort_array(value):
    return "".join(sorted(list(value)))

sort_array = lambda value: "".join(sorted(value, key=lambda a: int(a)))

def sort_array(value):
    return "".join(sorted(value,key=lambda a: a))

sort_array=lambda value: "".join(sorted(value))

def sort_array(value):
    return ''.join(sorted(value, key=int))

def sort_array(value):
    return "".join(sorted(value,key=lambda a: int(a)))

def sort_array(value):
    l = []
    st = ""
    for i in value:
        l.append(i)
    l.sort()
    for n in l: 
        st += n
    return st

def sort_array(value):
    lst=[]
    str= ""
    for i in value:
        lst.append(i)
        lst.sort()
    for a in lst:
        str+=a
    return str