eric.kolotyluk
02/02/2016, 8:06 AMval path1 = FileSystems.getDefault().getPath("""D:\Scanned\2014-04-08 Board Letter.pdf""");
val path2 = FileSystems.getDefault().getPath("""D:\Scanned\2014-05-25 Kay PoA.pdf""");
val path3 = FileSystems.getDefault().getPath("""D:\Scanned\2014-05-25 Kay TD.pdf""");
var paths = List[Path]()
paths ::= path1
paths ::= path2
paths ::= path3
paths.foreach { println }
produces
D:\Scanned\2014-05-25 Kay TD.pdf
D:\Scanned\2014-05-25 Kay PoA.pdf
D:\Scanned\2014-04-08 Board Letter.pdf
which does what I consider is the right thing.