Table of contents
TOC
Collapse the table of content
Expand the table of content

Sort order for contacts

Last Updated: 12/12/2016

OEMs can use this customization to set the list of contacts displayed in the People Hub to be organized by last name instead of first name or first name instead of last name. It is also possible to change the display format of contact names to appear as “First name Last name” or “Last name First name” for markets that use more formal nomenclature.

Constraints: ImageTimeOnly

Instructions:

  1. Create a customization answer file using the contents shown in the following code sample.

    <?xml version="1.0" encoding="utf-8" ?>
    <ImageCustomizations xmlns="http://schemas.microsoft.com/embedded/2004/10/ImageUpdate"  
                         Name="ContactSortSettings"  
                         Description="Use to set the sorting and display setting of the user's contacts"  
                         Owner=""  
                         OwnerType="OEM"> 
      <Static>  
        <Settings Path="People/SortAndDisplaySettings">
          <Setting Name="SortBy" Value="" />
          <Setting Name="DisplayBy" Value="" />      
        </Settings>  
      </Static>
    
    </ImageCustomizations>
    
  2. Specify an Owner.

  3. Set the SortBy Value to one of the following values:

    ValueDescription

    [Sort1] or FirstLast

    Sorts the contacts in the People Hub by their first name.

    [Sort2] or LastFirst

    Sorts the contacts in the People Hub by their last name.

  4. Set the DisplayBy Value to one of the following values:

    ValueDescription

    [Sort1] or FirstLast

    Displays the contacts in the People Hub in the format: “First name Last name”

    [Sort2] or LastFirst

    Displays the contacts in the People Hub in the format: “Last name First name”.

Testing steps:

  1. Flash a build containing this customization to a device.

  2. Go to the People settings screen. Verify that the Sort list by option is set to Last name, and that the Display names by option is set to Last, First.

Send comments about this topic to Microsoft

© 2017 Microsoft