Task: Define Idiomatic Ordering for Scala Case Class
Task: Define Idiomatic Ordering for Scala Case Class: a task in Terminal-Lego-15k (Harbor dataset). You are working with Scala and need to implement an idiomatic way to define lexicographical ordering for a simple case class. The goal is to be able to call .sorted on a list of case class instances…
The task
You are working with Scala and need to implement an idiomatic way to define lexicographical ordering for a simple case class. The goal is to be able to call `.sorted` on a list of case class instances without getting the "No implicit Ordering defined" error.
Part of PrimeIntellect/Terminal-Lego-15k.