making sure metadata is always loaded in the same order