change fillTermini.py to not assume any ordering of input.. matches similar change in cleanTermini.py