diff --git a/day-24/internal/one/zwire.go b/day-24/internal/one/zwire.go index 39edc20..cac691b 100644 --- a/day-24/internal/one/zwire.go +++ b/day-24/internal/one/zwire.go @@ -8,7 +8,7 @@ func (b byName) Len() int { return len(b) } func (b byName) Less(i, j int) bool { - return b[j].name > b[i].name + return b[i].name < b[j].name } func (b byName) Swap(i, j int) { b[i], b[j] = b[j], b[i]