<?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 Legend in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sorting-Legend/m-p/1039054#M524978</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;This seems really simple and yet I can't seem to get it right. I have a requirement to sort a dimension in both the bar chart and the legend to match. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;IMG __jive_id="116155" alt="2-26-2016 8-12-48 AM.jpg" class="jive-image image-1" src="/legacyfs/online/116155_2-26-2016 8-12-48 AM.jpg" style="width: 702px; height: 275px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I have 3 dimensions:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;1. (group) dPgmPm&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;2. Business Days: =&lt;SPAN style="color: #0000ff;"&gt;Dual&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;If&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Aggr&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;({&amp;lt;&lt;SPAN style="color: #800000;"&gt;Flag_CurrentStep&lt;/SPAN&gt;={1}&amp;gt;}&lt;SPAN style="color: #800000;"&gt;WORKFLOW_DURATION&lt;/SPAN&gt;), &lt;SPAN style="color: #800000;"&gt;REQUEST_ID&lt;/SPAN&gt;) &amp;lt;= 120, &lt;SPAN style="color: #0000ff;"&gt;Class&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Aggr&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;({&amp;lt;&lt;SPAN style="color: #800000;"&gt;Flag_CurrentStep&lt;/SPAN&gt;={1}&amp;gt;}&lt;SPAN style="color: #800000;"&gt;WORKFLOW_DURATION&lt;/SPAN&gt;), &lt;SPAN style="color: #800000;"&gt;REQUEST_ID&lt;/SPAN&gt;), 60), '&amp;gt;120'),&lt;BR /&gt; &lt;SPAN style="color: #0000ff;"&gt;If&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Aggr&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;({&amp;lt;&lt;SPAN style="color: #800000;"&gt;Flag_CurrentStep&lt;/SPAN&gt;={1}&amp;gt;}&lt;SPAN style="color: #800000;"&gt;WORKFLOW_DURATION&lt;/SPAN&gt;), &lt;SPAN style="color: #800000;"&gt;REQUEST_ID&lt;/SPAN&gt;) &amp;lt;= 120, &lt;SPAN style="color: #0000ff;"&gt;Class&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Aggr&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;({&amp;lt;&lt;SPAN style="color: #800000;"&gt;Flag_CurrentStep&lt;/SPAN&gt;={1}&amp;gt;}&lt;SPAN style="color: #800000;"&gt;WORKFLOW_DURATION&lt;/SPAN&gt;), &lt;SPAN style="color: #800000;"&gt;REQUEST_ID&lt;/SPAN&gt;), 60), 120))&lt;BR /&gt; 3.Curretn Step: =&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;wildmatch&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;CUR_WORKFLOW_STEP_NAME&lt;/SPAN&gt;,'Project Initiation and Design', 'Project Quality Review', 'Planning', 'Implementation', 'Close Out', 'Submission and Scoring', 'Demand Management Review', 'PRE Templating and Stratification', '*Funding*', 'Scheduling and Resourcing', '*Approval*', '*Hold*')&amp;gt;0,&lt;SPAN style="color: #800000;"&gt;CUR_WORKFLOW_STEP_NAME&lt;/SPAN&gt;,&lt;SPAN style="color: #0000ff;"&gt;null&lt;/SPAN&gt;()) &lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I have 2 expressions:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;1. Count of Requests: &lt;SPAN style="color: #0000ff;"&gt;count&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;DISTINCT&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;REQUEST_ID&lt;/SPAN&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;2. Label: =&lt;SPAN style="color: #0000ff;"&gt;num&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;count&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;DISTINCT&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;REQUEST_ID&lt;/SPAN&gt;), '#,###') &amp;amp; ' Reqs' &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;The sorting is currently based on a numeric field called CUR_WF_SORT_ORDER :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;1.dPgmPm: Y-value Descending&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;2. Business Days: Expression CUR_WF_SORT_ORDER Ascending&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;3. Current Step Expression CUR_WF_SORT_ORDER Ascending&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;However, while the sorting looks correct in the bar chart, it still doesn't look correct in the legend.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;IMG __jive_id="116168" alt="2-26-2016 8-18-08 AM.jpg" class="jive-image image-2" src="/legacyfs/online/116168_2-26-2016 8-18-08 AM.jpg" style="width: 750px; height: 155px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;What should I do? I've been playing with &lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;dual&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CUR_WORKFLOW_STEP_NAME&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CUR_WF_SORT_ORDER&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt; as sort order but I am not sure how to use dual.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Cassandra&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Feb 2016 15:19:28 GMT</pubDate>
    <dc:creator>cbaqir</dc:creator>
    <dc:date>2016-02-26T15:19:28Z</dc:date>
    <item>
      <title>Sorting Legend</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-Legend/m-p/1039054#M524978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;This seems really simple and yet I can't seem to get it right. I have a requirement to sort a dimension in both the bar chart and the legend to match. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;IMG __jive_id="116155" alt="2-26-2016 8-12-48 AM.jpg" class="jive-image image-1" src="/legacyfs/online/116155_2-26-2016 8-12-48 AM.jpg" style="width: 702px; height: 275px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I have 3 dimensions:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;1. (group) dPgmPm&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;2. Business Days: =&lt;SPAN style="color: #0000ff;"&gt;Dual&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;If&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Aggr&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;({&amp;lt;&lt;SPAN style="color: #800000;"&gt;Flag_CurrentStep&lt;/SPAN&gt;={1}&amp;gt;}&lt;SPAN style="color: #800000;"&gt;WORKFLOW_DURATION&lt;/SPAN&gt;), &lt;SPAN style="color: #800000;"&gt;REQUEST_ID&lt;/SPAN&gt;) &amp;lt;= 120, &lt;SPAN style="color: #0000ff;"&gt;Class&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Aggr&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;({&amp;lt;&lt;SPAN style="color: #800000;"&gt;Flag_CurrentStep&lt;/SPAN&gt;={1}&amp;gt;}&lt;SPAN style="color: #800000;"&gt;WORKFLOW_DURATION&lt;/SPAN&gt;), &lt;SPAN style="color: #800000;"&gt;REQUEST_ID&lt;/SPAN&gt;), 60), '&amp;gt;120'),&lt;BR /&gt; &lt;SPAN style="color: #0000ff;"&gt;If&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Aggr&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;({&amp;lt;&lt;SPAN style="color: #800000;"&gt;Flag_CurrentStep&lt;/SPAN&gt;={1}&amp;gt;}&lt;SPAN style="color: #800000;"&gt;WORKFLOW_DURATION&lt;/SPAN&gt;), &lt;SPAN style="color: #800000;"&gt;REQUEST_ID&lt;/SPAN&gt;) &amp;lt;= 120, &lt;SPAN style="color: #0000ff;"&gt;Class&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Aggr&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;({&amp;lt;&lt;SPAN style="color: #800000;"&gt;Flag_CurrentStep&lt;/SPAN&gt;={1}&amp;gt;}&lt;SPAN style="color: #800000;"&gt;WORKFLOW_DURATION&lt;/SPAN&gt;), &lt;SPAN style="color: #800000;"&gt;REQUEST_ID&lt;/SPAN&gt;), 60), 120))&lt;BR /&gt; 3.Curretn Step: =&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;wildmatch&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;CUR_WORKFLOW_STEP_NAME&lt;/SPAN&gt;,'Project Initiation and Design', 'Project Quality Review', 'Planning', 'Implementation', 'Close Out', 'Submission and Scoring', 'Demand Management Review', 'PRE Templating and Stratification', '*Funding*', 'Scheduling and Resourcing', '*Approval*', '*Hold*')&amp;gt;0,&lt;SPAN style="color: #800000;"&gt;CUR_WORKFLOW_STEP_NAME&lt;/SPAN&gt;,&lt;SPAN style="color: #0000ff;"&gt;null&lt;/SPAN&gt;()) &lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I have 2 expressions:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;1. Count of Requests: &lt;SPAN style="color: #0000ff;"&gt;count&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;DISTINCT&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;REQUEST_ID&lt;/SPAN&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;2. Label: =&lt;SPAN style="color: #0000ff;"&gt;num&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;count&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;DISTINCT&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;REQUEST_ID&lt;/SPAN&gt;), '#,###') &amp;amp; ' Reqs' &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;The sorting is currently based on a numeric field called CUR_WF_SORT_ORDER :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;1.dPgmPm: Y-value Descending&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;2. Business Days: Expression CUR_WF_SORT_ORDER Ascending&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;3. Current Step Expression CUR_WF_SORT_ORDER Ascending&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;However, while the sorting looks correct in the bar chart, it still doesn't look correct in the legend.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;IMG __jive_id="116168" alt="2-26-2016 8-18-08 AM.jpg" class="jive-image image-2" src="/legacyfs/online/116168_2-26-2016 8-18-08 AM.jpg" style="width: 750px; height: 155px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;What should I do? I've been playing with &lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;dual&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CUR_WORKFLOW_STEP_NAME&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CUR_WF_SORT_ORDER&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt; as sort order but I am not sure how to use dual.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Cassandra&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2016 15:19:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-Legend/m-p/1039054#M524978</guid>
      <dc:creator>cbaqir</dc:creator>
      <dc:date>2016-02-26T15:19:28Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting Legend</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-Legend/m-p/1039055#M524979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just to be sure about your issue: the legend sorting doesn't match the barchart sorting in this picture?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Sorting mismatch thread207220.jpg" class="jive-image image-1" height="171" src="/legacyfs/online/116175_Sorting mismatch thread207220.jpg" style="height: 171px; width: 898.475px;" width="898" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2016 16:42:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-Legend/m-p/1039055#M524979</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2016-02-26T16:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting Legend</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-Legend/m-p/1039056#M524980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Correct. I want the legend to show in the same order as the bar chart (CUR_WF_SORT_ORDER). &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2016 16:59:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-Legend/m-p/1039056#M524980</guid>
      <dc:creator>cbaqir</dc:creator>
      <dc:date>2016-02-26T16:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting Legend</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-Legend/m-p/1039057#M524981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please tell me, using the &lt;SPAN style="font-size: 13.3333px;"&gt;numbers displayed next to the &lt;/SPAN&gt;legend items in my picture, what exactly the order should be?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the wrong legend sorting is only happening in your attached qvw document (which wasn't clear from your OP), then simply press the Chart Properties-&amp;gt;Presentation-&amp;gt;Settings... button (in Legend group) and enable checkbox "Reverse Order".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2016 21:34:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-Legend/m-p/1039057#M524981</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2016-02-26T21:34:26Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting Legend</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-Legend/m-p/1039058#M524982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Peter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, I can do that. The displayed order is actually reversed. As you have them numbered, I would want to see 1-7.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also updated the original post with a sample file that contains the sort order numbers in case you didn't see them.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2016 21:41:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-Legend/m-p/1039058#M524982</guid>
      <dc:creator>cbaqir</dc:creator>
      <dc:date>2016-02-26T21:41:33Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting Legend</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-Legend/m-p/1039059#M524983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In both the attached document and the picture I expanded with numbers, the sort order of the legend is identical to the sort order of the stacked bars (give or take a "Reverse Order" checkmark). So my conclusion is that in your document, you want both sorted according to the number sequence from the &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;CUR_WF_SORT_ORDER Excel sheet?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In that case, open Chart Properties-&amp;gt;Sort, select "Workflow Step" from the list and in the Expression sort field, enter CUR_WF_SORT_ORDER. You'll get something like this (smallest number first).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="116198" alt="Sorting mismatch v2 thread207220.jpg" class="jive-image image-1" src="/legacyfs/online/116198_Sorting mismatch v2 thread207220.jpg" style="height: 175px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;BTW if you want to invert the sorting order, select "Descending" in the Expression sort order listbox.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2016 21:59:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-Legend/m-p/1039059#M524983</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2016-02-26T21:59:06Z</dc:date>
    </item>
  </channel>
</rss>

