title: Ordering Members in Umbraco 7 Back Office
body: <p>We are currently utilising the Umbraco 7 membership service. Our site creates members as part of a sign-up process.</p>
  
  <p>In the CMS side of Umbraco I can see that the members should be sorted into folders alphabetically, however it would appear that the Name is being used to sort. This causes issues as the Name is for example "Mr Joe Blogs" which means nearly everyone ends up in the "M" folder. We have custom properties for title, forename and surname on the member object.</p>
  
  <p>How can I configure umbraco to sort in to alphabetical folders by the surname property.</p>
  
  <p>Also on the members manage tab Name is displayed on the grid how can I change this to surname and forename?</p>
  
  <p><strong>Update:</strong></p>
  
  <p>So i've done a bit more investigation and I can see that I have the MemberListView for Umbraco 7 installed and I file called memberListView.html which has an angularjs bound template and the bit I am looking at is:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;tr ng-repeat="result in listViewResultSet.items"
                          ng-class="{selected:result.selected}"&gt;
  
                          &lt;td&gt;
                              &lt;i class="icon {{result.icon}}" ng-class="getIcon(result)"&gt;&lt;/i&gt;
                              &lt;input type="checkbox" ng-model="result.selected"&gt;
                          &lt;/td&gt;
                          &lt;td&gt;
                              &lt;!-- ng-class="{inactive: entityType === 'content' &amp;&amp; !result.published}"  - use this as a template to color based on locked/approved state --&gt;
                              &lt;a href="#" ng-click="editMember(result.key)" prevent-default&gt;{{result.name}}&lt;/a&gt;
                          &lt;/td&gt;
                          &lt;td&gt;
                              {{result.email}}
                          &lt;/td&gt;
                          &lt;td colspan="2"&gt;
                              &lt;span title="{{getLockedDescription(result)}}" ng-class="getLockedIcon(result)"&gt;&lt;/span&gt;
                              &lt;span title="{{getSuspendedDescription(result)}}" ng-class="getSuspendedIcon(result)"&gt;&lt;/span&gt;
                          &lt;/td&gt;
                      &lt;/tr&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>When I try and get my custom property off result it isn't there but looking at the JSON some standard properties are there.</p>