stringSort using go-by-example as a reference