Sorting algorithms in Go