add a program that sorts strings using pointers