Revere order of occurance in strin