sorts implementations of various sorting algorithms for a-level cs