title: sorting this pointer to char using qsort() c;
body: <p>I have this pointer to char with a collection of c-strings</p>
  
  <pre><code>d|o|g|\0|g|h|o|s|t|\0|r|e|a|p|e|r|\0
  </code></pre>
  
  <p>I am using <code>qsort()</code> method from c library O want to sort it ascending order
  but I am comfused on how to short this by string not by char.</p>
  
  <p>I have a char pointer that points to the start of the orginal pointer but what i need is to sort the original char pointer not the new char* and still sort the new char*. without having dangling pointers</p>