SI-7408 Fix test by sorting results of getDeclaredClasses
SI-7408 Fix test by sorting results of getDeclaredClasses

run/t4023 can fail (and has already) because the order of elements
in the reflection API is not specified and can differ between platforms
(e. g. HotSpot and Avian) or even versions (Java 7 vs. Java 8).

slothspot/scala,martijnhoekstra/scala,felixmulder/scala,lrytz/scala,shimib/scala,martijnhoekstra/scala,scala/scala,lrytz/scala,shimib/scala,shimib/scala,lrytz/scala,felixmulder/scala,felixmulder/scala,jvican/scala,slothspot/scala,scala/scala,slothspot/scala,lrytz/scala,jvican/scala,shimib/scala,scala/scala,slothspot/scala,felixmulder/scala,martijnhoekstra/scala,felixmulder/scala,slothspot/scala,lrytz/scala,scala/scala,shimib/scala,felixmulder/scala,jvican/scala,slothspot/scala,felixmulder/scala,jvican/scala,lrytz/scala,jvican/scala,shimib/scala,martijnhoekstra/scala,slothspot/scala,jvican/scala,scala/scala,scala/scala,jvican/scala,martijnhoekstra/scala,martijnhoekstra/scala