Changing these to Seq() means they stay ordered. Maps do not guarantee order and it was annoying me somewhat.