Fixes a bug introduced in !258 (merged) where scores were not being sorted when the file was a csv file.