Fixed sort and typo in return, fixed re for tn