Sorting Multidimensional slices in golang : Wanted to sort a nested slice (asc to desc) based on int values ,however the slice remains unaffected.

Below is the short snippet of what I was trying.
```
type Rooms struct {
    type   string
    total  string
}

CombinedRooms := make([][]Rooms)

// sort by price
for i, _ := range CombinedRooms {
	sort.Slice(CombinedRooms[i], func(j, k int) bool {
		netRateJ, _ := strconv.Atoi(CombinedRooms[i][j].Total)
		netRateK, _ := strconv.Atoi(CombinedRooms[i][k].Total)
		return netRateJ < netRateK
	})
}
```

The Slice CombinedRooms remains unaffected even after the sorting func.