diff --git a/common.py b/common.py index 16825eae..1c12f94c 100644 --- a/common.py +++ b/common.py @@ -153,7 +153,7 @@ def parse_metadata(metafile, **kw): def read_metadata(verbose=False): apps = [] - for metafile in glob.glob(os.path.join('metadata', '*.txt')): + for metafile in sorted(glob.glob(os.path.join('metadata', '*.txt'))): if verbose: print "Reading " + metafile apps.append(parse_metadata(metafile, verbose=verbose))