Fix problem in Karl F code when SetOrder is missing.
Fix problem in Karl F code when SetOrder is missing.

X-Sharp/XSharpPublic,X-Sharp/XSharpPublic,X-Sharp/XSharpPublic,X-Sharp/XSharpPublic,X-Sharp/XSharpPublic