|
@@ -126,7 +126,7 @@ func List(c *gin.Context) {
|
|
|
dtoNodes = append(dtoNodes, convert2DtoNode(node, countryLabelSeqs[node.CountryCode]))
|
|
|
}
|
|
|
sort.SliceStable(dtoNodes, func(i, j int) bool {
|
|
|
- return dtoNodes[i].CountryCode >= dtoNodes[j].CountryCode
|
|
|
+ return dtoNodes[i].CountryCode > dtoNodes[j].CountryCode
|
|
|
})
|
|
|
|
|
|
c.JSON(http.StatusOK, dto.ListResponse{
|