powered by
pasteSorted(a, b, sep="/")
paste
a <- c("A","C","G","T") b <- c("C","A","T","G") pasteSorted(a,b)
Run the code above in your browser using DataLab