Metadata ordering