<?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: Sort in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Sort/m-p/20661#M4297</link>
    <description>Remove the "descending" in the by statement.</description>
    <pubDate>Wed, 02 Mar 2011 19:49:29 GMT</pubDate>
    <dc:creator>RickM</dc:creator>
    <dc:date>2011-03-02T19:49:29Z</dc:date>
    <item>
      <title>Sort</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Sort/m-p/20660#M4296</link>
      <description>Hi all,&lt;BR /&gt;
&lt;BR /&gt;
I submitted the below code:&lt;BR /&gt;
&lt;BR /&gt;
data QTR1_REVENUE ;&lt;BR /&gt;
input destination $ revenue;&lt;BR /&gt;
cards;&lt;BR /&gt;
FRA 62129&lt;BR /&gt;
FRA 75962&lt;BR /&gt;
;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
proc sort data = qtr1_revenue;&lt;BR /&gt;
by destination descending revenue;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
In outuput data set I was expecting to see the following:&lt;BR /&gt;
FRA 62129&lt;BR /&gt;
FRA 75962&lt;BR /&gt;
&lt;BR /&gt;
but to my surprise,the output is :&lt;BR /&gt;
FRA 75962&lt;BR /&gt;
FRA 62129&lt;BR /&gt;
&lt;BR /&gt;
Just wondering why this happened.Any thoughts?&lt;BR /&gt;
&lt;BR /&gt;
Thanks in advance</description>
      <pubDate>Wed, 02 Mar 2011 19:43:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Sort/m-p/20660#M4296</guid>
      <dc:creator>ren2010</dc:creator>
      <dc:date>2011-03-02T19:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: Sort</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Sort/m-p/20661#M4297</link>
      <description>Remove the "descending" in the by statement.</description>
      <pubDate>Wed, 02 Mar 2011 19:49:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Sort/m-p/20661#M4297</guid>
      <dc:creator>RickM</dc:creator>
      <dc:date>2011-03-02T19:49:29Z</dc:date>
    </item>
  </channel>
</rss>

