Ordering in scala - Stack Overflow
stackoverflow.com › questions › 41055857Dec 9, 2016 · Ordering in scala Ask Question Asked 6 years ago Modified 6 years ago Viewed 96 times 0 I learn Ordering from this link. And I tried the code below by my self: val pairs = Array ( ("a", 5, 2), ("c", 3, 1), ("b", 1, 3)) Sorting.quickSort (pairs) (Ordering [ (Int, String)].on [ (String, Int, Int)] ( (_._3,_.1)) However, there is an error says that: