done with sort

it's been years since I had to write my own sort algorithm.