title: Alphabet Indexed ListView Without a cursor
body: <p>I receive data from a server using JSON and I want to order them alphabetically with alphabet indexed section and store them in a ListView. 
  Maybe something that will happen in :</p>
  
  <pre><code>for(int i=0;i&lt;jArray.length();i++){
  // here
  }
  </code></pre>
  
  <p>I read that you can order elements like that only using a cursor. In my case would be very inefficient to store the elements from the server in the database and read them again. Waste of time and memory. </p>
  
  <p>So, I am asking you if there could be any solution for my problem : order alphabetically with alphabet indexed section string received from JSON .</p>
  
  <p>EDIT: I want my listview to look like this <a href="http://eshyu.wordpress.com/2010/08/15/cursoradapter-with-alphabet-indexed-section-headers/" rel="nofollow">http://eshyu.wordpress.com/2010/08/15/cursoradapter-with-alphabet-indexed-section-headers/</a> . I mean with those sections . All tutorials I found said that you need to fetch information with a cursor. My question was if I could't do this wihout a cursor, because it would be a waste of memory to store them in the local database too.</p>