script.py
from time import sleep
from _thread import start_new_thread
def sleep_sort(i):
sleep(i)
print(i)
array = [5, 3, 6, 3, 6, 3, 1, 4, 7]
sorted = list(map(lambda item: start_new_thread(sleep_sort, (item,)), array))
# >>> 1
# 3
# 3
# 3
# 4
# 5
# 6
# 6
# 7
# なお sortedには別物がはいる...まぁネタだから