<?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 dataset alphabetically based on multiple variables? in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Sort-dataset-alphabetically-based-on-multiple-variables/m-p/743971#M29276</link>
    <description>Depends, please show an example. I would suggest looking at CALL SORTC() most likely.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 26 May 2021 17:36:40 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2021-05-26T17:36:40Z</dc:date>
    <item>
      <title>Sort dataset alphabetically based on multiple variables?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Sort-dataset-alphabetically-based-on-multiple-variables/m-p/743966#M29274</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a dataset with 5 variables and I am trying to sort my observations alphabetically across all 5 variables. Is this at all possible in SAS?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 May 2021 17:23:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Sort-dataset-alphabetically-based-on-multiple-variables/m-p/743966#M29274</guid>
      <dc:creator>monsterpie</dc:creator>
      <dc:date>2021-05-26T17:23:31Z</dc:date>
    </item>
    <item>
      <title>Re: Sort dataset alphabetically based on multiple variables?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Sort-dataset-alphabetically-based-on-multiple-variables/m-p/743969#M29275</link>
      <description>&lt;P&gt;Try&lt;/P&gt;
&lt;P&gt;Proc Sort data=yourdatasetname;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; by firstvar secondvar thirdvar fourthvar fifthvar;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If that doesn't get the result you want then be prepared to share some data and what you expect the sorted result to look like.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 May 2021 17:34:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Sort-dataset-alphabetically-based-on-multiple-variables/m-p/743969#M29275</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-05-26T17:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: Sort dataset alphabetically based on multiple variables?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Sort-dataset-alphabetically-based-on-multiple-variables/m-p/743971#M29276</link>
      <description>Depends, please show an example. I would suggest looking at CALL SORTC() most likely.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 26 May 2021 17:36:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Sort-dataset-alphabetically-based-on-multiple-variables/m-p/743971#M29276</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-05-26T17:36:40Z</dc:date>
    </item>
  </channel>
</rss>

