I'm a genious.
I just invented a new sorting algorithm.#!/bin/bash
f() { sleep $1; echo $1; }
sort() { for i in $@; do f $i& done; wait; }$ sort 8 1 4 10 5 3
1
3
4
5
8
10
>>59798928
>genious
>invented
>new
Nope: https://rosettacode.org/wiki/Sorting_algorithms/Sleep_sort#UNIX_Shell
>>59798962
>Not recognizing sleepsort as copypasta
>>59798928
Oh shit it actually works.
>>59798962
>>59798969
>>59798975
>>59798976
>Not saging
>>59798982
Another bump just for you
>>59799001
Another bump just for (You)
>>59798928
>>59798976
And in linear time!
>>59798928
I miss /prog/