[SPARK-37322][TESTS] `run_scala_tests` should respect test module order
[SPARK-37322][TESTS] `run_scala_tests` should respect test module order

### What changes were proposed in this pull request?
This PR aims to make `run_scala_tests` respect test module order

### Why are the changes needed?
Currently the execution order is random.

### Does this PR introduce _any_ user-facing change?
No

### How was this patch tested?
Manually through the following and check if the catalyst module runs first.

```
$ SKIP_MIMA=1 SKIP_UNIDOC=1 ./dev/run-tests --parallelism 1 --modules "catalyst,hive-thriftserver"
```

Closes #34590 from williamhyun/order.

Authored-by: William Hyun <c824fe0afe16857dd6f587aa7c4044d2642d60fb@apache.org>
Signed-off-by: Dongjoon Hyun <6ff48b33cbb828151035af58a92f18a39f1d1036@apache.org>
(cherry picked from commit c2221a8e3d95ce22d76208c705179c5954318567)
Signed-off-by: Dongjoon Hyun <6ff48b33cbb828151035af58a92f18a39f1d1036@apache.org>

milliman/spark,milliman/spark,milliman/spark,milliman/spark,milliman/spark,milliman/spark,milliman/spark