Is there a way to sort values in a CSV file in Scala?

I have a csv file that outputs rows like this: Distributed Systems|SOFE 4790U|M|14|10|17|0|University Building A1 UA2240 Research Methods|SSCI 2900U|F|14|10|17|0|61 Charles DTA219 Social Control|SSCI 2030U|R|14|10|17|0|61 Charles DTA219 Is there anyway to sort the values in the csv file based on one column? Like say The 3rd column which represents day of the week. How would I…

Discover more