Added ordering to prevent non-deterministic test failure; refs #23099.