Write output in line number order.
Merge pull request #29 from jonas054/more_rules

Write output in line number order.