sort types in String() test