The metadata needs to be ordered for this implementation.