def METHOD_NAME(self):
    """
    Fileset.getFiles() should be sorted the same as Fileset.getFiles(type = "lfn"),
    assert that this is the case here.
    """
    files = self.fileset.getFiles()
    lfns = self.fileset.getFiles(type = "lfn")
    for x in files:
        assert x["lfn"] in (lfns), \
        'Missing file %s from file list returned ' % x["lfn"]
        assert lfns[files.index(x)] == x["lfn"], \
        'Sorting not consistent: lfn = %s, file = %s' % (lfns[files.index(x)], x["lfn"])