<?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: Proc sort in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Proc-sort/m-p/863568#M341103</link>
    <description>Okay, I can see that now. This was very&lt;BR /&gt;helpful, thank you very much, sir.</description>
    <pubDate>Sat, 11 Mar 2023 01:30:59 GMT</pubDate>
    <dc:creator>PrinceAde</dc:creator>
    <dc:date>2023-03-11T01:30:59Z</dc:date>
    <item>
      <title>Proc sort</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-sort/m-p/862924#M340871</link>
      <description>The above code is supposed to be sorted in ascending town, descending debt and ascending accountnumber.&lt;BR /&gt;From the result, the accountnumber does not look sorted to me.&lt;BR /&gt;Can anyone help please. Thank you&lt;BR /&gt;The link; &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/proc/n0zs02iixw2lban15cxp9qe1cbok.htm#n0zs02iixw2lban15cxp9qe1cbok" target="_blank"&gt;https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/proc/n0zs02iixw2lban15cxp9qe1cbok.htm#n0zs02iixw2lban15cxp9qe1cbok&lt;/A&gt;</description>
      <pubDate>Wed, 08 Mar 2023 12:41:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-sort/m-p/862924#M340871</guid>
      <dc:creator>PrinceAde</dc:creator>
      <dc:date>2023-03-08T12:41:10Z</dc:date>
    </item>
    <item>
      <title>Re: Proc sort</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-sort/m-p/862925#M340872</link>
      <description>&lt;P&gt;Please be specific, where do you think the sorting of account number is incorrect?&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2023 12:47:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-sort/m-p/862925#M340872</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2023-03-08T12:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: Proc sort</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-sort/m-p/862929#M340876</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/440493"&gt;@PrinceAde&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;The above code is supposed to be sorted in ascending town, descending debt and ascending accountnumber.&lt;BR /&gt;From the result, the accountnumber does not look sorted to me.&lt;BR /&gt;Can anyone help please. Thank you&lt;BR /&gt;The link; &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/proc/n0zs02iixw2lban15cxp9qe1cbok.htm#n0zs02iixw2lban15cxp9qe1cbok" target="_blank" rel="noopener"&gt;https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/proc/n0zs02iixw2lban15cxp9qe1cbok.htm#n0zs02iixw2lban15cxp9qe1cbok&lt;/A&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I see no code in your post, please post it.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2023 12:56:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-sort/m-p/862929#M340876</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2023-03-08T12:56:34Z</dc:date>
    </item>
    <item>
      <title>Re: Proc sort</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-sort/m-p/862931#M340878</link>
      <description>&lt;P&gt;Hi &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/440493"&gt;@PrinceAde&lt;/a&gt;, echoing others, please post the code&amp;nbsp;&lt;U&gt;and&lt;/U&gt; your results.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2023 13:05:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-sort/m-p/862931#M340878</guid>
      <dc:creator>maguiremq</dc:creator>
      <dc:date>2023-03-08T13:05:55Z</dc:date>
    </item>
    <item>
      <title>Re: Proc sort</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-sort/m-p/863032#M340920</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/440493"&gt;@PrinceAde&lt;/a&gt;&amp;nbsp;and welcome to the SAS Support Communities!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorting by&amp;nbsp;ascending town, descending debt and ascending account number means a kind of hierarchy: Only &lt;EM&gt;within&lt;/EM&gt;&amp;nbsp;groups of observations &lt;EM&gt;for the same &lt;FONT face="courier new,courier"&gt;town&lt;/FONT&gt;&lt;/EM&gt;&amp;nbsp;the second sort key, &lt;FONT face="courier new,courier"&gt;descending&lt;/FONT&gt;&amp;nbsp;&lt;FONT face="courier new,courier"&gt;debt&lt;/FONT&gt;, is actually applied (as a "tie-breaker"). Similarly, the effect of the third sort key, &lt;FONT face="courier new,courier"&gt;accountnumber&lt;/FONT&gt;, can only be visible within groups of observations with the same values in both &lt;FONT face="courier new,courier"&gt;town&lt;/FONT&gt; &lt;EM&gt;and&lt;/EM&gt; &lt;FONT face="courier new,courier"&gt;debt&lt;/FONT&gt;. Only three observations happen to meet this fairly strong criterion: those with &lt;FONT face="courier new,courier"&gt;town='Apex'&lt;/FONT&gt; and &lt;FONT face="courier new,courier"&gt;debt=37.95&lt;/FONT&gt;. The account numbers of these three observations are indeed in ascending order: &lt;FONT face="courier new,courier"&gt;3131&lt;/FONT&gt;, &lt;FONT face="courier new,courier"&gt;5108&lt;/FONT&gt;, &lt;FONT face="courier new,courier"&gt;9923&lt;/FONT&gt;. Without those "doubly tied" observations even sorting by &lt;FONT face="courier new,courier"&gt;&lt;EM&gt;descending&lt;/EM&gt; accountnumber&lt;/FONT&gt;&amp;nbsp;(in the third place) would make no difference and the account numbers would typically look like not sorted at all (i.e., similar to what they look like now, with the sorting effectively limited to just 3 out of 14 observations).&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2023 16:37:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-sort/m-p/863032#M340920</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2023-03-08T16:37:25Z</dc:date>
    </item>
    <item>
      <title>Re: Proc sort</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-sort/m-p/863568#M341103</link>
      <description>Okay, I can see that now. This was very&lt;BR /&gt;helpful, thank you very much, sir.</description>
      <pubDate>Sat, 11 Mar 2023 01:30:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-sort/m-p/863568#M341103</guid>
      <dc:creator>PrinceAde</dc:creator>
      <dc:date>2023-03-11T01:30:59Z</dc:date>
    </item>
  </channel>
</rss>

