Implement partial ordering equivalently to the reference
Implement partial ordering equivalently to the reference: a task in repo2rlenv-equivalence-tests (Harbor dataset). Implement the function partial ordering in /workspace/task module.py so that it is behaviorally equivalent to reference partial ordering (which is already provided in task module.py ).