Ord instance for MetaVar