<?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 call sortc or sortn in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/call-sortc-or-sortn/m-p/394901#M95163</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;How does CALL SORTC or CALL SORTN work?&amp;nbsp; Is it a horizontal sorting of the variables?&lt;/P&gt;&lt;P&gt;The following program does not seem to make any changes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data test;
	set sashelp.class;
	call sortn (age, height);
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 11 Sep 2017 21:03:54 GMT</pubDate>
    <dc:creator>SAS_inquisitive</dc:creator>
    <dc:date>2017-09-11T21:03:54Z</dc:date>
    <item>
      <title>call sortc or sortn</title>
      <link>https://communities.sas.com/t5/SAS-Programming/call-sortc-or-sortn/m-p/394901#M95163</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;How does CALL SORTC or CALL SORTN work?&amp;nbsp; Is it a horizontal sorting of the variables?&lt;/P&gt;&lt;P&gt;The following program does not seem to make any changes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data test;
	set sashelp.class;
	call sortn (age, height);
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Sep 2017 21:03:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/call-sortc-or-sortn/m-p/394901#M95163</guid>
      <dc:creator>SAS_inquisitive</dc:creator>
      <dc:date>2017-09-11T21:03:54Z</dc:date>
    </item>
    <item>
      <title>Re: call sortc or sortn</title>
      <link>https://communities.sas.com/t5/SAS-Programming/call-sortc-or-sortn/m-p/394910#M95169</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/64404"&gt;@SAS_inquisitive&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The following program does not seem to make any changes.&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;That's because age is always less than height anyways. Make a better examle where the order would change to test it properly. &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Sep 2017 21:11:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/call-sortc-or-sortn/m-p/394910#M95169</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-09-11T21:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: call sortc or sortn</title>
      <link>https://communities.sas.com/t5/SAS-Programming/call-sortc-or-sortn/m-p/394914#M95170</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/64404"&gt;@SAS_inquisitive&lt;/a&gt;&amp;nbsp; Reeza rightly mentioned to work on better examples. My suggestion is, if you don't mind and can afford to buy a book, try to get this-&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sas.com/store/prodBK_60864_en.html?storeCode=SAS_US&amp;amp;storeCode=SAS_US" target="_blank"&gt;https://www.sas.com/store/prodBK_60864_en.html?storeCode=SAS_US&amp;amp;storeCode=SAS_US&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Learning SAS® by Example: A Programmer's Guide&lt;/P&gt;&lt;DIV class="author"&gt;&lt;A href="http://support.sas.com/publishing/authors/cody.html" target="_blank"&gt;Ron Cody&lt;/A&gt;&lt;/DIV&gt;&lt;DIV class="author"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="author"&gt;That has incredible and awesome examples on exactly what you are looking for. Also, you will start to contribute with your solutions very soon.&lt;/DIV&gt;</description>
      <pubDate>Mon, 11 Sep 2017 21:20:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/call-sortc-or-sortn/m-p/394914#M95170</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2017-09-11T21:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: call sortc or sortn</title>
      <link>https://communities.sas.com/t5/SAS-Programming/call-sortc-or-sortn/m-p/394922#M95173</link>
      <description>&lt;P&gt;Compare the differences in Example and Example2 in the code below:&lt;/P&gt;
&lt;PRE&gt;data example;
   input v1 v2 v3;
datalines;
1 2 3
3 1 2
27 18 4
;
run;

data example2;
   set example;
   call sortn (v1,v2,v3);
run;&lt;/PRE&gt;</description>
      <pubDate>Mon, 11 Sep 2017 21:53:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/call-sortc-or-sortn/m-p/394922#M95173</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-09-11T21:53:02Z</dc:date>
    </item>
    <item>
      <title>Re: call sortc or sortn</title>
      <link>https://communities.sas.com/t5/SAS-Programming/call-sortc-or-sortn/m-p/395282#M95282</link>
      <description>@novinosorin I have much more SAS books than you can think of. I, sometimes, post questions for the benefit of others too.</description>
      <pubDate>Tue, 12 Sep 2017 20:25:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/call-sortc-or-sortn/m-p/395282#M95282</guid>
      <dc:creator>SAS_inquisitive</dc:creator>
      <dc:date>2017-09-12T20:25:08Z</dc:date>
    </item>
    <item>
      <title>Re: call sortc or sortn</title>
      <link>https://communities.sas.com/t5/SAS-Programming/call-sortc-or-sortn/m-p/395285#M95283</link>
      <description>&lt;P&gt;Awesome, I wish I could have at least one. Please do post, I'll learn too.Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2017 20:28:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/call-sortc-or-sortn/m-p/395285#M95283</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2017-09-12T20:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: call sortc or sortn</title>
      <link>https://communities.sas.com/t5/SAS-Programming/call-sortc-or-sortn/m-p/395297#M95294</link>
      <description>&lt;P&gt;This is learning and&amp;nbsp; knowledge sharing forum. One should take it easy to each other.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2017 20:43:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/call-sortc-or-sortn/m-p/395297#M95294</guid>
      <dc:creator>SAS_inquisitive</dc:creator>
      <dc:date>2017-09-12T20:43:11Z</dc:date>
    </item>
  </channel>
</rss>

