<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Sorting List of Team Members based on Surname in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Sorting-List-of-Team-Members-based-on-Surname/m-p/748699#M60930</link>
    <description>&lt;P&gt;I have a blog listing page which features all my blog posts. Each blog post is basically a team member. The title of the blog post is the name of the team member.&lt;/P&gt;&lt;P&gt;What I want is that on the blog listing page, I sort the list of all blog posts based on their surname.&lt;/P&gt;&lt;P&gt;Previously I was doing something like this:&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;contents&lt;/SPAN&gt;&lt;SPAN&gt;|&lt;/SPAN&gt;&lt;SPAN&gt;sort&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;false&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;false&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;"name"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;Now I want it to be something like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;contents&lt;/SPAN&gt;&lt;SPAN&gt;|&lt;/SPAN&gt;&lt;SPAN&gt;sort&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;false&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;false&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;"name.split(' ')[1]"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;So for instance, I have two names:&lt;/P&gt;&lt;PRE&gt;Jon Snow, Cersie Lannister&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The sorted order should be:&lt;/P&gt;&lt;PRE&gt;Cersie Lannister, Jon Snow&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As L appears before S in the alphabet.&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can this be achieved?&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Mon, 30 Jan 2023 09:01:39 GMT</pubDate>
    <dc:creator>AAsim4</dc:creator>
    <dc:date>2023-01-30T09:01:39Z</dc:date>
    <item>
      <title>Sorting List of Team Members based on Surname</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Sorting-List-of-Team-Members-based-on-Surname/m-p/748699#M60930</link>
      <description>&lt;P&gt;I have a blog listing page which features all my blog posts. Each blog post is basically a team member. The title of the blog post is the name of the team member.&lt;/P&gt;&lt;P&gt;What I want is that on the blog listing page, I sort the list of all blog posts based on their surname.&lt;/P&gt;&lt;P&gt;Previously I was doing something like this:&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;contents&lt;/SPAN&gt;&lt;SPAN&gt;|&lt;/SPAN&gt;&lt;SPAN&gt;sort&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;false&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;false&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;"name"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;Now I want it to be something like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;contents&lt;/SPAN&gt;&lt;SPAN&gt;|&lt;/SPAN&gt;&lt;SPAN&gt;sort&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;false&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;false&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;"name.split(' ')[1]"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;So for instance, I have two names:&lt;/P&gt;&lt;PRE&gt;Jon Snow, Cersie Lannister&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The sorted order should be:&lt;/P&gt;&lt;PRE&gt;Cersie Lannister, Jon Snow&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As L appears before S in the alphabet.&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can this be achieved?&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 30 Jan 2023 09:01:39 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Sorting-List-of-Team-Members-based-on-Surname/m-p/748699#M60930</guid>
      <dc:creator>AAsim4</dc:creator>
      <dc:date>2023-01-30T09:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting List of Team Members based on Surname</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Sorting-List-of-Team-Members-based-on-Surname/m-p/748704#M60931</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/127074"&gt;@Jaycee_Lewis&lt;/a&gt;&amp;nbsp;would appreciate it if you could help in regards to this. Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2023 09:08:48 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Sorting-List-of-Team-Members-based-on-Surname/m-p/748704#M60931</guid>
      <dc:creator>AAsim4</dc:creator>
      <dc:date>2023-01-30T09:08:48Z</dc:date>
    </item>
  </channel>
</rss>

