HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by coding_lobster | Hacker News Reader
Parent
Full thread
coding_lobster
·
What's the use case for this?
View on HN
CJefferson
·
Lots of mathematical algorithms sort lists lexicographically. It comes up in graphs and lots of other combinatorics problems. Often you want a total order on 2D coordinates, an this ordering is (usually) the simplest and best.
Reply on news.ycombinator.com