I don’t think there is a way to automatically sort ... but if you want to test one of the classes with one command, you can run your test one by one with this command:
xcodebuild test -destination 'platform = iOS Simulator, name = iPhone 7, OS = 11.1' '- : APPNAME-TESTTARGET/NAMEOFTHECLASS'
, :
xcodebuild -list