I20250623-1800
Currently all entries are given in the insertion order, but for test entries they should come last as they are only accessible in the test code while other entries are accessible by both. To prevent test entries from overriding regular ones, we sort them to be placed later in the classpath.