Added tests regarding ordering of the children when creating a POR repo object in-memory. Since writing of the files is based off of this, we should be good; just as well, we probably don't want to write to files and then make sure the output is correct, as that is basically an integration test