Qt Code:
  1. sortOrders:[
  2. SortOrder {
  3. detail: ContactDetail.Name
  4. caseSensitivity: Qt.CaseInsensitive
  5. field:Name.DisplayLabel
  6. direction: Qt.AscendingOrder
  7. }
  8. ]
To copy to clipboard, switch view to plain text mode 

This is a sort order being used for sorting the contact model based on the display label. however the contacts are not getting sorted.
Qt Code:
  1. Name.FirstName
To copy to clipboard, switch view to plain text mode 
and
Qt Code:
  1. Name.LastName
To copy to clipboard, switch view to plain text mode 
work perfectly but display label is not being read . Any help is much appreciated.