Fixed test so it sorts the returned strings.