title: wikipedia api results vary between list and generator queries
body: <p>I'm exploring wiki apis...</p>
  
  <p>Based on the below post, i 've some doubts.
  <a href="https://stackoverflow.com/questions/8930867/wikipedia-list-search-rest-api-how-to-retrieve-also-url-of-matching-articles/13492215#13492215">Wikipedia list=search REST API: how to retrieve also Url of matching articles</a></p>
  
  <p>I need to fetch the wiki URLs for my search. So I used <code>generator=search</code> instead of <code>list=search</code></p>
  
  <p>But the results got from both methods vary in the order they are returned. </p>
  
  <p>Can someone tell me based on what factor the results are being ordered in generator method?</p>
  
  <p>sample try:</p>
  
  <ul>
  <li>generator: <a href="http://en.wikipedia.org/w/api.php?action=query&amp;generator=search&amp;gsrsearch=sachin+tendulkar&amp;format=jsonfm&amp;prop=info&amp;inprop=url|displaytitle" rel="nofollow noreferrer">http://en.wikipedia.org/w/api.php?action=query&amp;generator=search&amp;gsrsearch=sachin+tendulkar&amp;format=jsonfm&amp;prop=info&amp;inprop=url|displaytitle</a></li>
  <li>list: <a href="http://en.wikipedia.org/w/api.php?action=query&amp;list=search&amp;srsearch=sachin+tendulkar&amp;format=jsonfm" rel="nofollow noreferrer">http://en.wikipedia.org/w/api.php?action=query&amp;list=search&amp;srsearch=sachin+tendulkar&amp;format=jsonfm</a></li>
  </ul>