title: SAPUI5 - Group list items without sorting ascending or descending
body: <p>I am using a <code>sap.m.List</code> control in my application that is supposed to show a sequential list. There is a grouping property in each list data that I can use to group similar items together.</p>
  
  <p>I checked <a href="https://sapui5.netweaver.ondemand.com/explored.html#/sample/sap.m.sample.ListGrouping/preview" rel="nofollow">this example</a> on the SAP Explored website on list grouping. It uses a <code>sorter</code> property that has <code>group</code> set to <code>true</code>. By default the sorting mode is descending.</p>
  
  <p>However my list has to show the items in a predefined sequence with just similar items grouped together for ease of use. All items in a group occur at one place in the list and a particular group occurs only once. For example, I have to bind the JSON array below to a list in the same order as it is, only grouped by <code>Category</code>.</p>
  
  <p><strong>steps.json:</strong></p>
  
  <pre><code>{
    "Steps": [
      {
        "Desc": "Open google search",
        "Category": "Google"
      },
      {
        "Desc": "Search for Apple Inc.",
        "Category": "Google"
      },
      {
        "Desc": "Open Apple website",
        "Category": "Apple"
      },
      {
        "Desc": "Search for iPhone",
        "Category": "Apple"
      },
      {
        "Desc": "Browse all iPhone models",
        "Category": "Phone"
      },
      {
        "Desc": "Choose the one you like",
        "Category": "Phone"
      }
    ]
  }
  </code></pre>
  
  <p>The code below is what I would like to do in order to get going except it sorts my list in descending order.</p>
  
  <p><strong>SAPUI5 code:</strong></p>
  
  <pre><code>&lt;List
      items="{
                  path: '/Steps',
                  sorter: {
                      path: 'Category',
                      group: true
                  }
              }"
      headerText="Here's what you do"&gt;
      &lt;StandardListItem title="{Desc}" /&gt;
  &lt;/List&gt;
  </code></pre>
  
  <p>Is there a way to achieve this?</p>
  
  <p>Thanks.</p>