use sort and uniq to do collectons operation