Index: sodarlevel2/trunk/sodarlevel2.py =================================================================== --- sodarlevel2/trunk/sodarlevel2.py (revision 524) +++ sodarlevel2/trunk/sodarlevel2.py (revision 528) @@ -30,6 +30,6 @@ ncs = glob(ncs) ncs = [os.path.basename(nc) for nc in ncs] -ncs.sort() -nc = ncs[-1] +ncs.sort() # months in order +nc = ncs[-1] # latest month try: