Updated: String sort with pointers