O'Reilly logo
  • Khaleque Mohammad Fazle Azim thinks this is interesting:

sort

From

Cover of Programming in Scala, Third Edition

Note

I am using Scala 2.11.7 and sort is replaced by sortWith method.