modifyrepo: Put records in the same order as defined in batch file