<?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: Sorting Fields with special characters in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sorting-Fields-with-special-characters/m-p/536541#M552840</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is quite a complex issue. Shouldn't something like 1/4" be even sorted on top?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;In this example I am having trouble figuring out why 1.5"STD is above 1.25-7 HEX.&lt;/P&gt;

&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I assume (but I don't know exactely), it's similar to your other recent issue. QV sorts the values also by block of numbers (like a somewhat natural sort), so 5 is preceding 25 is preceding 50 is preceding 875:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Number Block '1' / Char Block '.' / Number Block '5'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.&lt;STRONG&gt;5&lt;/STRONG&gt;"STD&lt;/P&gt;&lt;P&gt;1.&lt;STRONG&gt;25&lt;/STRONG&gt;-7&lt;/P&gt;&lt;P&gt;1.&lt;STRONG&gt;50&lt;/STRONG&gt;"&lt;/P&gt;&lt;P&gt;1.&lt;STRONG&gt;875&lt;/STRONG&gt;"x6"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know the answer to your issue. But maybe try to separate the first part that seems to build a number and evaluate this part to a number. Then use this number for sorting.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Oct 2013 21:29:21 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2013-10-09T21:29:21Z</dc:date>
    <item>
      <title>Sorting Fields with special characters</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-Fields-with-special-characters/m-p/536536#M552835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anyone know how Qlikview considers characters like " and - when Sorting a field A ---&amp;gt;Z.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jiveImage" src="https://community.qlik.com/legacyfs/online/47402_pastedImage_0.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this example I am having trouble figuring out why 1.5"STD is above 1.25-7 HEX.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 20:18:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-Fields-with-special-characters/m-p/536536#M552835</guid>
      <dc:creator>jpapador</dc:creator>
      <dc:date>2013-10-09T20:18:34Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting Fields with special characters</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-Fields-with-special-characters/m-p/536537#M552836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;However the sorting works on those characters. It's a better way to have a extra field for sorting where you can strip or replace those chars.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Ralf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 20:21:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-Fields-with-special-characters/m-p/536537#M552836</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2013-10-09T20:21:03Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting Fields with special characters</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-Fields-with-special-characters/m-p/536538#M552837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well without characters like the . 125 would be lower that 15 still.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 20:28:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-Fields-with-special-characters/m-p/536538#M552837</guid>
      <dc:creator>jpapador</dc:creator>
      <dc:date>2013-10-09T20:28:14Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting Fields with special characters</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-Fields-with-special-characters/m-p/536539#M552838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree, this looks more like an issue..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 20:38:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-Fields-with-special-characters/m-p/536539#M552838</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2013-10-09T20:38:38Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting Fields with special characters</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-Fields-with-special-characters/m-p/536540#M552839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe have a mapping table with a sorting number per piece derived from the size or so..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 20:42:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-Fields-with-special-characters/m-p/536540#M552839</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2013-10-09T20:42:41Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting Fields with special characters</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-Fields-with-special-characters/m-p/536541#M552840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is quite a complex issue. Shouldn't something like 1/4" be even sorted on top?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;In this example I am having trouble figuring out why 1.5"STD is above 1.25-7 HEX.&lt;/P&gt;

&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I assume (but I don't know exactely), it's similar to your other recent issue. QV sorts the values also by block of numbers (like a somewhat natural sort), so 5 is preceding 25 is preceding 50 is preceding 875:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Number Block '1' / Char Block '.' / Number Block '5'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.&lt;STRONG&gt;5&lt;/STRONG&gt;"STD&lt;/P&gt;&lt;P&gt;1.&lt;STRONG&gt;25&lt;/STRONG&gt;-7&lt;/P&gt;&lt;P&gt;1.&lt;STRONG&gt;50&lt;/STRONG&gt;"&lt;/P&gt;&lt;P&gt;1.&lt;STRONG&gt;875&lt;/STRONG&gt;"x6"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know the answer to your issue. But maybe try to separate the first part that seems to build a number and evaluate this part to a number. Then use this number for sorting.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 21:29:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-Fields-with-special-characters/m-p/536541#M552840</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-10-09T21:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting Fields with special characters</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-Fields-with-special-characters/m-p/536542#M552841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have tested into 11.20SR3, it really seems to be a bug&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 21:40:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-Fields-with-special-characters/m-p/536542#M552841</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2013-10-09T21:40:03Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting Fields with special characters</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-Fields-with-special-characters/m-p/536543#M552842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Interesting solution but still a bit strange that a Listbox on SortOrder has the same wrong sorting..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 21:44:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-Fields-with-special-characters/m-p/536543#M552842</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2013-10-09T21:44:40Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Sorting Fields with special characters</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-Fields-with-special-characters/m-p/536544#M552843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'trebuchet ms', geneva;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'trebuchet ms', geneva; font-size: 10pt;"&gt;I think there is method to madness. According to my research, QlikView sorts strings (A-Z) based on the ASCII values of each character. It may seem complicated but it's easy once you understand the logic. While sorting decimals (referring to 1.25 and 1.5) QV treats them as ASCII characters but not decimal numbers.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'trebuchet ms', geneva; font-size: 10pt;"&gt;In your case, special character have following ASCII values.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #003366; font-family: 'trebuchet ms', geneva; font-size: 10pt;"&gt;&lt;STRONG&gt;" (Double Quote) has 34&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #003366; font-family: 'trebuchet ms', geneva; font-size: 10pt;"&gt;&lt;STRONG&gt;- (Hyphen) has 45&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #003366; font-family: 'trebuchet ms', geneva; font-size: 10pt;"&gt;&lt;STRONG&gt;. (Period) has 46&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #003366; font-family: 'trebuchet ms', geneva; font-size: 10pt;"&gt;&lt;STRONG&gt;5 (Number Five) has 53&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #003366; font-family: 'trebuchet ms', geneva; font-size: 10pt;"&gt;&lt;STRONG&gt;2 (Number Two) has 50&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'trebuchet ms', geneva; font-size: 10pt;"&gt;For example, if you have string &lt;SPAN style="color: #003366;"&gt;&lt;STRONG&gt;1.5!STD&lt;/STRONG&gt;&lt;/SPAN&gt; will be the shown as first value compared to&lt;SPAN style="color: #003366;"&gt;&lt;STRONG&gt; 1.5"STD&lt;/STRONG&gt;&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'trebuchet ms', geneva; font-size: 10pt;"&gt;You need to use&lt;SPAN style="color: #003366;"&gt;&lt;STRONG&gt; ORD()&lt;/STRONG&gt;&lt;/SPAN&gt; QlikView function which converts ASCII characters to Integers which can be used for sorting.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'trebuchet ms', geneva; font-size: 10pt;"&gt;I hope this helps and makes sense!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'trebuchet ms', geneva; font-size: 10pt;"&gt;Good luck!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'trebuchet ms', geneva; font-size: 10pt;"&gt;Cheers,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'trebuchet ms', geneva;"&gt;DV&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 21:48:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-Fields-with-special-characters/m-p/536544#M552843</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2013-10-09T21:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Sorting Fields with special characters</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-Fields-with-special-characters/m-p/536545#M552844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ralf,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know for sure what is right or wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Listbox shows the values sorted like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1/4"X24"X50'&lt;/P&gt;&lt;P&gt;2/3"&lt;/P&gt;&lt;P&gt;1NMR&lt;/P&gt;&lt;P&gt;1.25-7&lt;/P&gt;&lt;P&gt;1.5"STD&lt;/P&gt;&lt;P&gt;1.50"&lt;/P&gt;&lt;P&gt;1.875"x6"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which seems correct to me with my limited understanding.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 21:49:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-Fields-with-special-characters/m-p/536545#M552844</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-10-09T21:49:08Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Sorting Fields with special characters</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-Fields-with-special-characters/m-p/536546#M552845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But this is not happen. The strings get ordered by value of sub blocks as Stefan mentioned..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 21:53:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-Fields-with-special-characters/m-p/536546#M552845</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2013-10-09T21:53:39Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Sorting Fields with special characters</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-Fields-with-special-characters/m-p/536547#M552846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I meant a Listbox on the field SortOrder doesn't work well. It only work rigth if sorting is set to Numeric Value which isn't understandable because it should use the numeric value of the dual first. Also, num(SortOrder) or num#(SortOrder) doesn't work. Maybe it's a mix of data types in the field SortOrder.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 21:56:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-Fields-with-special-characters/m-p/536547#M552846</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2013-10-09T21:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Sorting Fields with special characters</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-Fields-with-special-characters/m-p/536548#M552847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think it's getting too late for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry, Ralf, I don't see what you are talking about (maybe because of different versions, I noticed I am currently on an older QV 11 version), but I haven't used the dual() function also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Interestingly, I just sorted the &lt;EM&gt;Text&lt;/EM&gt; field (where all began...) by &lt;EM&gt;Numeric Value, &lt;/EM&gt;and it returned the same (correct?) sort order as after all the work...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am attaching this version also, and try to open the file tomorrow with a latest version.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 22:08:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-Fields-with-special-characters/m-p/536548#M552847</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-10-09T22:08:25Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Sorting Fields with special characters</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-Fields-with-special-characters/m-p/536549#M552848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana, geneva;"&gt;Hi Ralf,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana, geneva;"&gt;I've loaded Stefan's sample data and tried to sort by Text (A-Z). I get the expected results as per ASCII values. Attaching the same for your reference.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana, geneva;"&gt;Cheers,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana, geneva;"&gt;DV&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana, geneva;"&gt;&lt;A href="http://www.QlikShare.com/"&gt;www.QlikShare.com&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 22:11:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-Fields-with-special-characters/m-p/536549#M552848</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2013-10-09T22:11:23Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Sorting Fields with special characters</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-Fields-with-special-characters/m-p/536550#M552849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm on v11.2 SR3 and the Text Listbox with Sort by Numeric Value shows the wrong order. So, this is also version dependent?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="10.10.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/47405_10.10.png" /&gt;&lt;/P&gt;&lt;P&gt;Btw. I made no change to the Listboxes. It's from comm95340_2.qvw&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 22:13:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-Fields-with-special-characters/m-p/536550#M552849</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2013-10-09T22:13:12Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting Fields with special characters</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-Fields-with-special-characters/m-p/536551#M552850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DV, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in your screenshot, 1.5" precedes 1.25, I think that is not what is required by the OP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ralf,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes, version seems to be an issue. In your and my setting, I notice that some SortOrder values have different decimal separator, more precisely the ones which were Evaluate()'ed&amp;nbsp; (which might explain some issues).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For now, I changed the script to&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SET DecimalSep='.';&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SET ThousandSep=',';&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD * , num(Evaluate(SubText)) as SortOrder;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD *, &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; Left(Text,FindOneOf(lower(Text),'abcdefghijklmnopqrstuvwxyz-"')-1) as SubText&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; INLINE [&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Text&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;1.5"STD&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;1.25-7&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;1.50"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;1.875"x6"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;1/4"X24"X50'&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;1NMR&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;2/3"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;];&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which did correct the decimal separator. Does this affect your SortOrder sort order?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 22:22:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-Fields-with-special-characters/m-p/536551#M552850</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-10-09T22:22:55Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting Fields with special characters</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-Fields-with-special-characters/m-p/536552#M552851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, it works with SortOrder sort order.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 22:27:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-Fields-with-special-characters/m-p/536552#M552851</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2013-10-09T22:27:23Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting Fields with special characters</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-Fields-with-special-characters/m-p/536553#M552852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree Stefan. I was not providing the answer but I'm just saying that QV sorts based on ASCII value. That was the initial question...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;DV&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 22:49:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-Fields-with-special-characters/m-p/536553#M552852</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2013-10-09T22:49:13Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting Fields with special characters</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-Fields-with-special-characters/m-p/536554#M552853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the Load Order to sort, if data is correctly sorted in data source&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 23:00:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-Fields-with-special-characters/m-p/536554#M552853</guid>
      <dc:creator />
      <dc:date>2013-10-09T23:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting Fields with special characters</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-Fields-with-special-characters/m-p/536555#M552854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DV,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it seems that QV is &lt;EM&gt;not&lt;/EM&gt; sorting based on ASCII values (or maybe I am misunderstanding your point).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's look at these text values&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A1&lt;/P&gt;&lt;P&gt;A2&lt;/P&gt;&lt;P&gt;A10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wouldn't a pure ASCII sort lead to this order?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A1&lt;/P&gt;&lt;P&gt;A10&lt;/P&gt;&lt;P&gt;A2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While QV returns first sort order when sorting by Text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't think this is necessarily bad (except that AFAIR, it's bot consistent with the docs). It may be more consistent with what a user expects in most cases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe, QV developers won't spend much time in inventing something new, instead they will call a system function. Let's see. Maybe this one:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://msdn.microsoft.com/en-us/library/windows/desktop/bb759947%28v=vs.85%29.aspx" title="http://msdn.microsoft.com/en-us/library/windows/desktop/bb759947%28v=vs.85%29.aspx"&gt;StrCmpLogicalW function (Windows)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Seems close to what we see.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ralf,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've checked with another version of 11.20 SR3 (32 bit) and did get some different results from my findings yesterday evening and even from yours (numeric sort works at my site also for the Text field...).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am afraid this seems to get a versioning issue, too.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Oct 2013 10:22:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-Fields-with-special-characters/m-p/536555#M552854</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-10-10T10:22:41Z</dc:date>
    </item>
  </channel>
</rss>

