Pixel Sorting in Go