Added ordering of dictionary based off line number.