I'm trying to sort slice of int inside a slice, for example :
slices := make([][]int32, 0)
slices = append(slices, []int32{10,22})
slices = append(slices, []int32{13,22})
slices = append(slices, []int32{12,22})
// [[10 22] [13 22] [12 22]]
// to become
// [[10 22] [12 22] [13 22]] (ascending)
// *by the first element in slice
i had no idea for that, but i was thinking about append and prepend after check