<?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 Re: RE: How sort collection by multiple fields in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/How-sort-collection-by-multiple-fields/m-p/119402#M52982</link>
    <description>&lt;P&gt;This worked like a Charm! Thank you.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 14 Mar 2025 12:27:33 GMT</pubDate>
    <dc:creator>harshithaakumar</dc:creator>
    <dc:date>2025-03-14T12:27:33Z</dc:date>
    <item>
      <title>How sort collection by multiple fields</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-sort-collection-by-multiple-fields/m-p/84720#M35824</link>
      <description>&lt;SPAN&gt;Hi All&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;, Any one can suggest how to Sort Collection for Multiple conditions. For Example Filed1 needs to be Sorted as "Ascending" and Filed2 needs to be Sorted as "Descending" at once. I was able to achieve in Excel(which is called as Custom Sort). How to apply Custom Sorting in BP Collection?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks​​&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;vinod chinthakindi&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 28 Oct 2022 05:33:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-sort-collection-by-multiple-fields/m-p/84720#M35824</guid>
      <dc:creator>vinodchinthakin</dc:creator>
      <dc:date>2022-10-28T05:33:00Z</dc:date>
    </item>
    <item>
      <title>RE: How sort collection by multiple fields</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-sort-collection-by-multiple-fields/m-p/84721#M35825</link>
      <description>Hi Vinod,&lt;BR /&gt;&lt;BR /&gt;You can copy the Sort action in the 'Utility - Collection' business object into a new Action.&lt;BR /&gt;&lt;BR /&gt;Once done, delete the Ascending Order action input and data item, as these are not required for the new action.&lt;BR /&gt;&lt;BR /&gt;Adjust the code start to match the below:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="28745.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/28875iF24BAD302E72E428/image-size/large?v=v2&amp;amp;px=999" role="button" title="28745.png" alt="28745.png" /&gt;&lt;/span&gt;&lt;BR /&gt;When you call the Action, the [Sort Field] Input Parameter would list the fields to sort by and their order. Each field separated by a comma. For example:&lt;BR /&gt;&lt;BR /&gt;[FieldName1] ASC, [FieldName2] DESC&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Carl Carter&lt;BR /&gt;Senior Developer&lt;BR /&gt;Blue Prism&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 28 Oct 2022 07:20:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-sort-collection-by-multiple-fields/m-p/84721#M35825</guid>
      <dc:creator>Carl__Carter</dc:creator>
      <dc:date>2022-10-28T07:20:00Z</dc:date>
    </item>
    <item>
      <title>RE: How sort collection by multiple fields</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-sort-collection-by-multiple-fields/m-p/84722#M35826</link>
      <description>Thanks Carl, It's worked excellent.!&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;vinod chinthakindi&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 28 Oct 2022 07:30:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-sort-collection-by-multiple-fields/m-p/84722#M35826</guid>
      <dc:creator>vinodchinthakin</dc:creator>
      <dc:date>2022-10-28T07:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: RE: How sort collection by multiple fields</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-sort-collection-by-multiple-fields/m-p/110913#M49978</link>
      <description>&lt;P&gt;Hi&lt;BR /&gt;Can you share complete start, end, code properties for this?&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2024 15:45:25 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-sort-collection-by-multiple-fields/m-p/110913#M49978</guid>
      <dc:creator>pmittal</dc:creator>
      <dc:date>2024-05-27T15:45:25Z</dc:date>
    </item>
    <item>
      <title>Re: RE: How sort collection by multiple fields</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-sort-collection-by-multiple-fields/m-p/110919#M49981</link>
      <description>&lt;P&gt;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/13885"&gt;@pmittal&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is a little trick to turn the&amp;nbsp;&lt;STRONG&gt;Sort Collection&lt;/STRONG&gt; action in Blue Prism's&amp;nbsp;&lt;STRONG&gt;Utility - Collection Manipulation&lt;/STRONG&gt; VBO into a multi-column sorter. You simply list out your columns and their sort directions separated by a comma but leave out the sort direction of the last column. Set the&amp;nbsp;&lt;STRONG&gt;Ascending Order&lt;/STRONG&gt; parameter accordingly to the sort direction of that last column.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MichealCharron_0-1716842662646.png" style="width: 999px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/38340i983B11C94CB14C32/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="MichealCharron_0-1716842662646.png" alt="MichealCharron_0-1716842662646.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The&amp;nbsp;&lt;STRONG&gt;Sort Collection&amp;nbsp;&lt;/STRONG&gt;action does essentially the same thing as the code in the replies above but it adds either " ASC" or " DESC" to the&amp;nbsp;&lt;STRONG&gt;Sort Field&amp;nbsp;&lt;/STRONG&gt;string depending on how the&amp;nbsp;&lt;STRONG&gt;Ascending Order&lt;/STRONG&gt; parameter is set.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2024 20:50:02 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-sort-collection-by-multiple-fields/m-p/110919#M49981</guid>
      <dc:creator>MichealCharron</dc:creator>
      <dc:date>2024-05-27T20:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: RE: How sort collection by multiple fields</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-sort-collection-by-multiple-fields/m-p/119402#M52982</link>
      <description>&lt;P&gt;This worked like a Charm! Thank you.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Mar 2025 12:27:33 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-sort-collection-by-multiple-fields/m-p/119402#M52982</guid>
      <dc:creator>harshithaakumar</dc:creator>
      <dc:date>2025-03-14T12:27:33Z</dc:date>
    </item>
  </channel>
</rss>

