Implement test case for sorting pointer arguments.

Use std::iterator_traits<> to work with pointers.