What does -_ mean in Scala?

Viewed 686

When I'm reading source code of some Scala App, I always see such expression val sortedWithId = scores.data.zipWithIndex.sortBy(-_._1).

What does -_ mean?

You know it's so hard to google this kind of expression, so if anyone knows, could you give me some examples?

Thanks in advance.

1 Answers
Related