Compare collections as strings.