When companies ask you to write things like a sort function... you know I have to ask... why? I haven't had to do that myself literally ever. Every programming language worth using has a sort function. Even fucking *C* has qsort(). Yes, fucking *C* has a sort function. What the fuck.