sorted, hash to string -> store last seen in var
sorted, hash to non-string -> store last seen in var
unsorted, hash to string -> store seen in map
unsorted, hash to non-string -> store seen in array, check using _.contains