title: Elastic search sort field containing special characters numbers and alpahbets
body: <p>I created a case insensitive analyzer as </p>
  
  <pre><code>PUT /dhruv3
  {
    "settings": {
      "index": {
        "analysis": {
          "analyzer": {
            "analyzer_keyword": {
              "tokenizer": "keyword",
              "filter": [ "lowercase", "asciifolding" ]
            }
          }
        }
      }
    },
    "mappings": {
      "test": {
        "properties": {
          "about": {
            "type": "string",
            "analyzer": "analyzer_keyword"
          },
          "firsName": {
            "type": "string"
          }
        }
      }
    }
  }
  </code></pre>
  
  <p>and used it in mapping. About field is supposed to contain aplha numerc and special characters.Then I inserted some values with <code>about</code> field as</p>
  
  <blockquote>
    <p>1234, `pal, pal, ~pal</p>
  </blockquote>
  
  <p>.
  Besides searching I need to get result sorted. Searching is working well
  but when I try to sort them as</p>
  
  <pre><code>GET dhruv/test/_search
  {
    "sort": [
      {
        "about": {
          "order": "asc"
        }
      }
    ]
  }
  </code></pre>
  
  <p>I get results in about field as  </p>
  
  <blockquote>
    <p>1234,`pal,pal,~pal</p>
  </blockquote>
  
  <p>. But I expect them to be as first special characters, then numbers and then alphabets.</p>
  
  <p>I did some home work and came to know that its because of their ASCII values. SO i searched internet and tried even <code>asciifolding</code>. But didn't work out. I know there is some solution some where but I can't figure out. Please guide me</p>