This is much better, however, how do I a grow another data structure with the sorted output? In other words, I would like to take each line of data and tested against other conditions element by element afterwards, that is the data in between the colons as I was trying to do in the last foreach...