Guarantees that the list of files will always be in the same order.

This commit is contained in:
Mauricio Carneiro 2011-07-17 11:41:34 -04:00
parent dd92a14b40
commit 1af76736b9
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ object QScriptUtils {
for (bam <- fromFile(in).getLines)
if (!bam.startsWith("#") && !bam.isEmpty )
list :+= new File(bam.trim())
list
list.sortWith(_.compareTo(_) < 0)
}
/**