Discovered classes are now sorted - fixing #1180

we try to (now) avoid postfix notation.