To get something more custom or appropriate for printing out your
SortData object, you can also make a
String() conversion method that builds up your own string representation. By default, the
String() conversion method inherited from
Object just prints out the class name of the object.
You can also override
as_code() which returns a string for use during debugging when building callstack, etc. If you don’t override
as_code() it calls the
String() conversion method by default.