Calculate parameter ordering for positional arguments.

[#57443904]