small bug fix

- __str__ was missing a sorted call