Skip to content

Commit 474ce44

Browse files
committed
2024/24 turd polish
1 parent 9f1491f commit 474ce44

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main/scala/y2024/Day24.scala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ class Day24 extends util.Day(24):
1111
val bits = finalWires.keys
1212
.filter(_.isZ)
1313
.toSeq
14-
.sortBy(_.zIndex)
15-
.reverse
14+
.sortBy(_.zIndex)(Ordering.Int.reverse)
1615
.map(w => finalWires(w).toString)
1716
.mkString
1817

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy