Sorting using pointers. the addresses held in the pointer variables are exchanged).