merge sort.
String permutation.