Urutkan serangkaian struct di golang

slice.Sort(planets[:], func(i, j int) bool {
    return planets[i].Axis < planets[j].Axis
})
Cheerful Crayfish