All sorting algorithms implemented