MoransV1.py -- Fixed encoding issues. Sort MC output before it is written