title: Sphinx sort problem?
body: <p>i am using 1.10 sphinx.</p>
  
  <pre><code>source tags
  {
      type                            = mysql
      sql_host                        = localhost
      sql_user                        = abc
      sql_pass                        = 123456
      sql_db                          = company
      sql_sock                        =  /var/lib/mysql/mysql.sock
      sql_port                        = 3306
  
       sql_query_pre = SET NAMES utf8
       sql_query_range        = SELECT 1,max(id) FROM companies
  
  sql_query                       = \
          SELECT id,name FROM companies;
  ;
        sql_attr_str2ordinal = name  
  
  }
  </code></pre>
  
  <p>this is sorted by name but i am retriving data.
  the result set is <code>[name] =&gt; 954 ......</code> like this coming .</p>
  
  <p><code>sql_attr_str2ordinal = name</code>  before use this i am using <code>sql_field_string = name that name</code> is retrive but not sort by name.
  what is the solution for this?</p>