Sorting algorithms and datastructures I've implemented