Fix for sbt#1180 - discovered classes are now sorted