Can gradle run two tests in a specific (desired) order in the same JVM?

I’m trying to reproduce a CI failure and need the tests to run in a specific order so that I can verify the problem. See:

You can’t control this on the Gradle level, but you can use a JUnit test suite, which (I believe) will execute tests classes in their declared order. At least there should be an option for this.

Ultimately, I ended doing something like that. Thanks for the help.