Sort units in toString