{"id":8718,"date":"2020-04-02T11:17:15","date_gmt":"2020-04-02T15:17:15","guid":{"rendered":"https:\/\/www.med.unc.edu\/webguide\/?page_id=8718"},"modified":"2025-11-18T09:47:14","modified_gmt":"2025-11-18T14:47:14","slug":"alphabetical-sort-order-not-working","status":"publish","type":"page","link":"https:\/\/www.med.unc.edu\/webguide\/userguide\/people-directory\/old-people-directory\/alphabetical-sort-order-not-working\/","title":{"rendered":"Alphabetical Sort Order Not Working?"},"content":{"rendered":"<p>A <a href=\"https:\/\/www.med.unc.edu\/webguide\/userguide\/people-directory\/gallery\/\">gallery of people profiles<\/a> will automatically list the profiles alphabetically by last name.\u00a0 There are two things that can affect this order:<\/p>\n<h2>Reverse Display Name<\/h2>\n<p>The\u00a0alphabetical sort order keys off of the <strong>Reverse Display Name<\/strong> field. If this field is left blank, the gallery will not sort properly.<\/p>\n<p><span class=\"imgBorderMed\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-8720\" src=\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2020\/04\/reverse-display-name.png\" alt=\"example reverse display name field\" width=\"600\" height=\"359\" srcset=\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2020\/04\/reverse-display-name.png 1000w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2020\/04\/reverse-display-name-300x179.png 300w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2020\/04\/reverse-display-name-768x459.png 768w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2020\/04\/reverse-display-name-600x359.png 600w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/span><\/p>\n<p>&nbsp;<\/p>\n<h2>Override and Sort Order<\/h2>\n<p><strong>Override Alphabetical Sort<\/strong>: check this option if the person should have priority placement in\u00a0<a href=\"https:\/\/www.med.unc.edu\/webguide\/userguide\/people-directory\/gallery\/\">gallery view<\/a>.\u00a0 This option is often used for department chairs and center directors. It will place them ahead of everyone else in the gallery view. All other profiles will display alphabetically by last name after the prioritized profiles.<\/p>\n<p><strong>Sort Order<\/strong>: allows you to specify the order when multiple profiles have been given priority with the override alphabetical sort option.<\/p>\n<p><span class=\"imgBorderMed\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-8721\" src=\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2020\/04\/override-sort-order-1024x251.png\" alt=\"example override and sort order fields\" width=\"1024\" height=\"251\" srcset=\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2020\/04\/override-sort-order-1024x251.png 1024w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2020\/04\/override-sort-order-300x74.png 300w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2020\/04\/override-sort-order-768x188.png 768w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2020\/04\/override-sort-order-1536x377.png 1536w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2020\/04\/override-sort-order-600x147.png 600w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2020\/04\/override-sort-order.png 1818w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/span><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A gallery of people profiles will automatically list the profiles alphabetically by last name.\u00a0 There are two things that can affect this order: Reverse Display Name The\u00a0alphabetical sort order keys off of the Reverse Display Name field. If this field is left blank, the gallery will not sort properly. &nbsp; Override and Sort Order Override &hellip; <a href=\"https:\/\/www.med.unc.edu\/webguide\/userguide\/people-directory\/old-people-directory\/alphabetical-sort-order-not-working\/\" aria-label=\"Read more about Alphabetical Sort Order Not Working?\">Read more<\/a><\/p>\n","protected":false},"author":3206,"featured_media":0,"parent":13464,"menu_order":8,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"layout":"","cellInformation":"","apiCallInformation":"","footnotes":"","_links_to":"","_links_to_target":""},"class_list":["post-8718","page","type-page","status-publish","hentry","odd"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Alphabetical Sort Order Not Working? - Web Guide<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.med.unc.edu\/webguide\/userguide\/people-directory\/alphabetical-sort-order-not-working\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Alphabetical Sort Order Not Working? - Web Guide\" \/>\n<meta property=\"og:description\" content=\"A gallery of people profiles will automatically list the profiles alphabetically by last name.\u00a0 There are two things that can affect this order: Reverse Display Name The\u00a0alphabetical sort order keys off of the Reverse Display Name field. If this field is left blank, the gallery will not sort properly. &nbsp; Override and Sort Order Override &hellip; Read more\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.med.unc.edu\/webguide\/userguide\/people-directory\/alphabetical-sort-order-not-working\/\" \/>\n<meta property=\"og:site_name\" content=\"Web Guide\" \/>\n<meta property=\"article:modified_time\" content=\"2025-11-18T14:47:14+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2020\/04\/reverse-display-name.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.med.unc.edu\/webguide\/userguide\/people-directory\/alphabetical-sort-order-not-working\/\",\"url\":\"https:\/\/www.med.unc.edu\/webguide\/userguide\/people-directory\/alphabetical-sort-order-not-working\/\",\"name\":\"Alphabetical Sort Order Not Working? - Web Guide\",\"isPartOf\":{\"@id\":\"https:\/\/www.med.unc.edu\/webguide\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.med.unc.edu\/webguide\/userguide\/people-directory\/alphabetical-sort-order-not-working\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.med.unc.edu\/webguide\/userguide\/people-directory\/alphabetical-sort-order-not-working\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2020\/04\/reverse-display-name.png\",\"datePublished\":\"2020-04-02T15:17:15+00:00\",\"dateModified\":\"2025-11-18T14:47:14+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.med.unc.edu\/webguide\/userguide\/people-directory\/alphabetical-sort-order-not-working\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.med.unc.edu\/webguide\/userguide\/people-directory\/alphabetical-sort-order-not-working\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.med.unc.edu\/webguide\/userguide\/people-directory\/alphabetical-sort-order-not-working\/#primaryimage\",\"url\":\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2020\/04\/reverse-display-name.png\",\"contentUrl\":\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2020\/04\/reverse-display-name.png\",\"width\":1000,\"height\":598,\"caption\":\"example reverse display name field\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.med.unc.edu\/webguide\/userguide\/people-directory\/alphabetical-sort-order-not-working\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.med.unc.edu\/webguide\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"User Guide\",\"item\":\"https:\/\/www.med.unc.edu\/webguide\/userguide\/ughome\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"People Directory\",\"item\":\"https:\/\/www.med.unc.edu\/webguide\/userguide\/people-directory\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Alphabetical Sort Order Not Working?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.med.unc.edu\/webguide\/#website\",\"url\":\"https:\/\/www.med.unc.edu\/webguide\/\",\"name\":\"Web Guide\",\"description\":\"School of Medicine IT\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.med.unc.edu\/webguide\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Alphabetical Sort Order Not Working? - Web Guide","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.med.unc.edu\/webguide\/userguide\/people-directory\/alphabetical-sort-order-not-working\/","og_locale":"en_US","og_type":"article","og_title":"Alphabetical Sort Order Not Working? - Web Guide","og_description":"A gallery of people profiles will automatically list the profiles alphabetically by last name.\u00a0 There are two things that can affect this order: Reverse Display Name The\u00a0alphabetical sort order keys off of the Reverse Display Name field. If this field is left blank, the gallery will not sort properly. &nbsp; Override and Sort Order Override &hellip; Read more","og_url":"https:\/\/www.med.unc.edu\/webguide\/userguide\/people-directory\/alphabetical-sort-order-not-working\/","og_site_name":"Web Guide","article_modified_time":"2025-11-18T14:47:14+00:00","og_image":[{"url":"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2020\/04\/reverse-display-name.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.med.unc.edu\/webguide\/userguide\/people-directory\/alphabetical-sort-order-not-working\/","url":"https:\/\/www.med.unc.edu\/webguide\/userguide\/people-directory\/alphabetical-sort-order-not-working\/","name":"Alphabetical Sort Order Not Working? - Web Guide","isPartOf":{"@id":"https:\/\/www.med.unc.edu\/webguide\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.med.unc.edu\/webguide\/userguide\/people-directory\/alphabetical-sort-order-not-working\/#primaryimage"},"image":{"@id":"https:\/\/www.med.unc.edu\/webguide\/userguide\/people-directory\/alphabetical-sort-order-not-working\/#primaryimage"},"thumbnailUrl":"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2020\/04\/reverse-display-name.png","datePublished":"2020-04-02T15:17:15+00:00","dateModified":"2025-11-18T14:47:14+00:00","breadcrumb":{"@id":"https:\/\/www.med.unc.edu\/webguide\/userguide\/people-directory\/alphabetical-sort-order-not-working\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.med.unc.edu\/webguide\/userguide\/people-directory\/alphabetical-sort-order-not-working\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.med.unc.edu\/webguide\/userguide\/people-directory\/alphabetical-sort-order-not-working\/#primaryimage","url":"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2020\/04\/reverse-display-name.png","contentUrl":"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2020\/04\/reverse-display-name.png","width":1000,"height":598,"caption":"example reverse display name field"},{"@type":"BreadcrumbList","@id":"https:\/\/www.med.unc.edu\/webguide\/userguide\/people-directory\/alphabetical-sort-order-not-working\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.med.unc.edu\/webguide\/"},{"@type":"ListItem","position":2,"name":"User Guide","item":"https:\/\/www.med.unc.edu\/webguide\/userguide\/ughome\/"},{"@type":"ListItem","position":3,"name":"People Directory","item":"https:\/\/www.med.unc.edu\/webguide\/userguide\/people-directory\/"},{"@type":"ListItem","position":4,"name":"Alphabetical Sort Order Not Working?"}]},{"@type":"WebSite","@id":"https:\/\/www.med.unc.edu\/webguide\/#website","url":"https:\/\/www.med.unc.edu\/webguide\/","name":"Web Guide","description":"School of Medicine IT","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.med.unc.edu\/webguide\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links_to":[],"_links_to_target":[],"_links":{"self":[{"href":"https:\/\/www.med.unc.edu\/webguide\/wp-json\/wp\/v2\/pages\/8718","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.med.unc.edu\/webguide\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.med.unc.edu\/webguide\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.med.unc.edu\/webguide\/wp-json\/wp\/v2\/users\/3206"}],"replies":[{"embeddable":true,"href":"https:\/\/www.med.unc.edu\/webguide\/wp-json\/wp\/v2\/comments?post=8718"}],"version-history":[{"count":1,"href":"https:\/\/www.med.unc.edu\/webguide\/wp-json\/wp\/v2\/pages\/8718\/revisions"}],"predecessor-version":[{"id":14944,"href":"https:\/\/www.med.unc.edu\/webguide\/wp-json\/wp\/v2\/pages\/8718\/revisions\/14944"}],"up":[{"embeddable":true,"href":"https:\/\/www.med.unc.edu\/webguide\/wp-json\/wp\/v2\/pages\/13464"}],"wp:attachment":[{"href":"https:\/\/www.med.unc.edu\/webguide\/wp-json\/wp\/v2\/media?parent=8718"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}