Reorder types in type system.

All the other SAbstractObject types are not SObject types, and since we have a linear order here, putting SObject before them seems to be the better approach. Otherwise, I saw wrongly generated tests.

Signed-off-by: Stefan Marr <git@stefan-marr.de>
Use static import for helper method.

Signed-off-by: Stefan Marr <git@stefan-marr.de>