<?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: Simple list box sort in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Simple-list-box-sort/m-p/322809#M118909</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please Check Is correct or not&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 May 2011 11:54:17 GMT</pubDate>
    <dc:creator>perumal_41</dc:creator>
    <dc:date>2011-05-24T11:54:17Z</dc:date>
    <item>
      <title>Simple list box sort</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-list-box-sort/m-p/322808#M118908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't believe I am struggling with this! I have a set of values that I want to display in a list box:&lt;/P&gt;&lt;P&gt;0000CARRIAGE&lt;/P&gt;&lt;P&gt;001ISLEOFMAN&lt;/P&gt;&lt;P&gt;02NMX20147-2&lt;/P&gt;&lt;P&gt;02NMX20147-4&lt;/P&gt;&lt;P&gt;03-20-009/23&lt;/P&gt;&lt;P&gt;0011A1000065&lt;/P&gt;&lt;P&gt;0065B1006175&lt;/P&gt;&lt;P&gt;0070A1004358&lt;/P&gt;&lt;P&gt;0073A9920262&lt;/P&gt;&lt;P&gt;440KEY05HGHB&lt;/P&gt;&lt;P&gt;700KEY080TNT&lt;/P&gt;&lt;P&gt;0900FU0569FO&lt;/P&gt;&lt;P&gt;000000001391&lt;/P&gt;&lt;P&gt;9820-0004/13&lt;/P&gt;&lt;P&gt;000000016209&lt;/P&gt;&lt;P&gt;099742-10700&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want them to be displayed in the sequence (as per Excel sort ascending):&lt;/P&gt;&lt;P&gt;000000001391&lt;/P&gt;&lt;P&gt;000000016209&lt;/P&gt;&lt;P&gt;0000CARRIAGE&lt;/P&gt;&lt;P&gt;0011A1000065&lt;/P&gt;&lt;P&gt;001ISLEOFMAN&lt;/P&gt;&lt;P&gt;0065B1006175&lt;/P&gt;&lt;P&gt;0070A1004358&lt;/P&gt;&lt;P&gt;0073A9920262&lt;/P&gt;&lt;P&gt;02NMX20147-2&lt;/P&gt;&lt;P&gt;02NMX20147-4&lt;/P&gt;&lt;P&gt;03-20-009/23&lt;/P&gt;&lt;P&gt;0900FU0569FO&lt;/P&gt;&lt;P&gt;099742-10700&lt;/P&gt;&lt;P&gt;440KEY05HGHB&lt;/P&gt;&lt;P&gt;700KEY080TNT&lt;/P&gt;&lt;P&gt;9820-0004/13&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I load the data using&lt;/P&gt;&lt;P&gt;Load text(Field1) as TextField...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would expect a simple sort on State and Text on the listbox properties would do it but...!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gordon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2011 11:24:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-list-box-sort/m-p/322808#M118908</guid>
      <dc:creator />
      <dc:date>2011-05-24T11:24:12Z</dc:date>
    </item>
    <item>
      <title>Re: Simple list box sort</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-list-box-sort/m-p/322809#M118909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please Check Is correct or not&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2011 11:54:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-list-box-sort/m-p/322809#M118909</guid>
      <dc:creator>perumal_41</dc:creator>
      <dc:date>2011-05-24T11:54:17Z</dc:date>
    </item>
    <item>
      <title>Re: Simple list box sort</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-list-box-sort/m-p/322810#M118910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Setting sort order to&lt;STRONG&gt; Text = A&amp;gt;Z &lt;/STRONG&gt;should to the trick. Do you have any other sorting enabled at the same time?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you still have this problem, please attach a sample QVW, so that your settings can be evaluated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2011 12:03:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-list-box-sort/m-p/322810#M118910</guid>
      <dc:creator>ToniKautto</dc:creator>
      <dc:date>2011-05-24T12:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: Simple list box sort</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-list-box-sort/m-p/322811#M118911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The list box properties are nothing more than state &amp;amp; Text A&amp;gt;Z.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is very weird.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached a xls with the data and a simple qvw.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using V9SR4 - how about you?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gordon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2011 13:25:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-list-box-sort/m-p/322811#M118911</guid>
      <dc:creator />
      <dc:date>2011-05-24T13:25:10Z</dc:date>
    </item>
    <item>
      <title>Re: Simple list box sort</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-list-box-sort/m-p/322812#M118912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This looks like a bug to me, and I can also reproduce it on QV10 SR2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please report it to QlikView support for further evaluation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="mailto:support@qlik.com"&gt;support@qlik.com&lt;/A&gt; or &lt;A href="http://qlik.com/Support"&gt;http://qlik.com/Support&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2011 13:42:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-list-box-sort/m-p/322812#M118912</guid>
      <dc:creator>ToniKautto</dc:creator>
      <dc:date>2011-05-24T13:42:03Z</dc:date>
    </item>
    <item>
      <title>Simple list box sort</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-list-box-sort/m-p/322813#M118913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I have now reported it to support and will post the response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gordon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2011 13:51:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-list-box-sort/m-p/322813#M118913</guid>
      <dc:creator />
      <dc:date>2011-05-24T13:51:46Z</dc:date>
    </item>
    <item>
      <title>Re: Simple list box sort</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-list-box-sort/m-p/322814#M118914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Ok. You can have the values sorted in excel( as you said, you want them to be sorted as per excel) and then load into QV. Then you can sort it based on Load Order=&amp;gt; Origional.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2011 13:59:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-list-box-sort/m-p/322814#M118914</guid>
      <dc:creator>montubhardwaj</dc:creator>
      <dc:date>2011-05-24T13:59:48Z</dc:date>
    </item>
    <item>
      <title>Simple list box sort</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-list-box-sort/m-p/322815#M118915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; The data is actually just an example subset of a .csv file that is regularily FTPd and contains 26k rows, so that is not an option unfortunately.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gordon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2011 14:10:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-list-box-sort/m-p/322815#M118915</guid>
      <dc:creator />
      <dc:date>2011-05-24T14:10:33Z</dc:date>
    </item>
    <item>
      <title>Re: Simple list box sort</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-list-box-sort/m-p/322816#M118916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Gordon - I've seen this happen with List Boxes before.&amp;nbsp; Doesn't seem to be any reason why it doesn't sort.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the attached example could be a work around - using a Text() expression rather than the field itself.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2011 15:03:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-list-box-sort/m-p/322816#M118916</guid>
      <dc:creator>nathanfurby</dc:creator>
      <dc:date>2011-05-24T15:03:07Z</dc:date>
    </item>
    <item>
      <title>Re: Simple list box sort</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-list-box-sort/m-p/322817#M118917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thanks Nathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Very odd behaviour isnt it - a good workaround in the meantime though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gordon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2011 15:09:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-list-box-sort/m-p/322817#M118917</guid>
      <dc:creator />
      <dc:date>2011-05-24T15:09:54Z</dc:date>
    </item>
    <item>
      <title>Simple list box sort</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-list-box-sort/m-p/322818#M118918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gordon,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe you are seeing the "natural sorting" alogorithm. See this thread for more info:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/message/27733#27733"&gt;http://community.qlik.com/message/27733#27733&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://robwunderlich.com"&gt;http://robwunderlich.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2011 15:24:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-list-box-sort/m-p/322818#M118918</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2011-05-24T15:24:31Z</dc:date>
    </item>
    <item>
      <title>Re: Simple list box sort</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-list-box-sort/m-p/322819#M118919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Other solution if SortField has 12 character lenght&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;tmpData:&lt;/P&gt;&lt;P&gt;load *,&lt;/P&gt;&lt;P&gt; mid(tmpSortField,1,1) as c1,&lt;/P&gt;&lt;P&gt; mid(tmpSortField,2,1) as c2,&lt;/P&gt;&lt;P&gt; mid(tmpSortField,3,1) as c3,&lt;/P&gt;&lt;P&gt; mid(tmpSortField,4,1) as c4,&lt;/P&gt;&lt;P&gt; mid(tmpSortField,5,1) as c5,&lt;/P&gt;&lt;P&gt; mid(tmpSortField,6,1) as c6,&lt;/P&gt;&lt;P&gt; mid(tmpSortField,7,1) as c7,&lt;/P&gt;&lt;P&gt; mid(tmpSortField,8,1) as c8,&lt;/P&gt;&lt;P&gt; mid(tmpSortField,9,1) as c9,&lt;/P&gt;&lt;P&gt; mid(tmpSortField,10,1) as c10,&lt;/P&gt;&lt;P&gt; mid(tmpSortField,11,1) as c11,&lt;/P&gt;&lt;P&gt; mid(tmpSortField,12,1) as c12&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;LOAD text(SortField) as tmpSortField&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[t1.xls]&lt;/P&gt;&lt;P&gt;(biff, embedded labels, table is t1$)&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;load tmpSortField as SortField&lt;/P&gt;&lt;P&gt;resident tmpData&lt;/P&gt;&lt;P&gt;order by c1, c2, c3, c4, c5, c6, c7, c8, c9, c10, c11, c12&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;drop table tmpData;&lt;/P&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2011 15:35:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-list-box-sort/m-p/322819#M118919</guid>
      <dc:creator />
      <dc:date>2011-05-24T15:35:20Z</dc:date>
    </item>
    <item>
      <title>Re: Simple list box sort</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-list-box-sort/m-p/322820#M118920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see now how the 'natural sorting' algorithm is being applied (thanks Rob).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As Nathan suggests, creating a list box based on the expression of the field 'Part No' as text &lt;/P&gt;&lt;P&gt;text([Part No])&lt;/P&gt;&lt;P&gt;works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, this key field is used in several charts etc and so I had hoped that changing the sort sequence to the expression text([Part No]) and text would also work but it doesnt.Particularily when I force it to text in the load script!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached the full list of 'Part No' (26k+).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there an easy way of doing this rather than having to constantly use an expression instead, go through hoops in the load script or is it just a problem with v9sr4?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gordon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2011 11:52:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-list-box-sort/m-p/322820#M118920</guid>
      <dc:creator />
      <dc:date>2011-05-27T11:52:25Z</dc:date>
    </item>
    <item>
      <title>Re: Simple list box sort</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-list-box-sort/m-p/322821#M118921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With the script i posted it works, you only have to use a listbox with sort based on Load Order = Origional.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 May 2011 08:04:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-list-box-sort/m-p/322821#M118921</guid>
      <dc:creator />
      <dc:date>2011-05-28T08:04:42Z</dc:date>
    </item>
    <item>
      <title>Re: Simple list box sort</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-list-box-sort/m-p/322822#M118922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; A good workaround but a workaround for what should be a simple thing to achieve.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gordon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 May 2011 08:46:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-list-box-sort/m-p/322822#M118922</guid>
      <dc:creator />
      <dc:date>2011-05-28T08:46:53Z</dc:date>
    </item>
    <item>
      <title>Re: Simple list box sort</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-list-box-sort/m-p/322823#M118923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm agree with you. It should be simpler.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 May 2011 16:26:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-list-box-sort/m-p/322823#M118923</guid>
      <dc:creator />
      <dc:date>2011-05-28T16:26:14Z</dc:date>
    </item>
  </channel>
</rss>

