<?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: Sorting using Proc Tabulate in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Sorting-using-Proc-Tabulate/m-p/95007#M26869</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try using:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #ffffff;"&gt;proc tabulate data=purchased_products2 format=comma12.2 order=&lt;SPAN style="color: #000000; font-family: arial, 'Arial Unicode MS', geneva, 'Lucida Grande', sans-serif; font-weight: bold; background-color: #ffffff;"&gt;DATA or FORMATTED or FREQ or UNFORMATTED&lt;/SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #ffffff;"&gt;select the option that meets your need.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Apr 2012 00:05:40 GMT</pubDate>
    <dc:creator>Linlin</dc:creator>
    <dc:date>2012-04-26T00:05:40Z</dc:date>
    <item>
      <title>Sorting using Proc Tabulate</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Sorting-using-Proc-Tabulate/m-p/95006#M26868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I am not sure where I am going wrong with this code, but I am hoping someone can help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I have this program that sorts my data and then uses a proc tabulate procedure to output the set:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc sort data=orion.purchased_products out=purchased_products;&lt;/P&gt;&lt;P&gt;by descending Order_Type; /*Sorting the data set by Order_Type*/&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc tabulate data=purchased_products format=comma12.2;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; where Supplier_Name contains 'Sports';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; by descending Order_Type;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; class Customer_Age_Group Supplier_Name;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; var Quantity Total_Retail_Price;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; table Supplier_Name,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Customer_Age_Group*Total_Retail_Price=' '*sum=' '&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /printmiss misstext='$0' box='Total Retail Price';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; title 'Products by Sales Supplier and Customer Age Group';&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The other half of my assignment is to modify the proc tabulate code so I don't need the proc sort code.&lt;/P&gt;&lt;P&gt;I have tried many things and so far nothing seems to work as well as the tabulate with the proc sort.&lt;/P&gt;&lt;P&gt;Here is my code so far:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc tabulate data=purchased_products2 format=comma12.2;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; where Supplier_Name contains 'Sports';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; class Order_Type/mlf descending;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; class Customer_Age_Group Supplier_Name;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; var Quantity Total_Retail_Price;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; table Supplier_Name,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Customer_Age_Group*Total_Retail_Price=' '*sum=' '&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /printmiss misstext='$0' box='Total Retail Price';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; title 'Products by Sales Supplier and Customer Age Group';&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I changed the by into a class and then used /mlf descending to see if that would work, but it's just not producing the same results.&lt;/P&gt;&lt;P&gt;Can someone check my code and let me know where I am going wrong?&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;Alisa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2012 23:48:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Sorting-using-Proc-Tabulate/m-p/95006#M26868</guid>
      <dc:creator>InfoAlisaA</dc:creator>
      <dc:date>2012-04-25T23:48:03Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting using Proc Tabulate</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Sorting-using-Proc-Tabulate/m-p/95007#M26869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try using:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #ffffff;"&gt;proc tabulate data=purchased_products2 format=comma12.2 order=&lt;SPAN style="color: #000000; font-family: arial, 'Arial Unicode MS', geneva, 'Lucida Grande', sans-serif; font-weight: bold; background-color: #ffffff;"&gt;DATA or FORMATTED or FREQ or UNFORMATTED&lt;/SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #ffffff;"&gt;select the option that meets your need.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2012 00:05:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Sorting-using-Proc-Tabulate/m-p/95007#M26869</guid>
      <dc:creator>Linlin</dc:creator>
      <dc:date>2012-04-26T00:05:40Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting using Proc Tabulate</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Sorting-using-Proc-Tabulate/m-p/95008#M26870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Linlin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I tried all of those options and all of them produced the same error in the error log:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERROR: Data set WORK.PURCHASED_PRODUCTS3 is not sorted in descending sequence.&lt;/P&gt;&lt;P&gt;The current BY group has Order Type = 2 and the next BY group has Order Type =&lt;/P&gt;&lt;P&gt;3.&lt;/P&gt;&lt;P&gt; So I am not sure if this particular option works.&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;Alisa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2012 00:28:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Sorting-using-Proc-Tabulate/m-p/95008#M26870</guid>
      <dc:creator>InfoAlisaA</dc:creator>
      <dc:date>2012-04-26T00:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting using Proc Tabulate</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Sorting-using-Proc-Tabulate/m-p/95009#M26871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the mlf option supposed to do for you. Is there a multilabel format associated with Order_type? What if you remove the mlf ? - PG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2012 02:01:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Sorting-using-Proc-Tabulate/m-p/95009#M26871</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2012-04-26T02:01:22Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting using Proc Tabulate</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Sorting-using-Proc-Tabulate/m-p/95010#M26872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe you need a special option for BY statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data class;set sashelp.class;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc tabulate data=class;&lt;/P&gt;&lt;P&gt;by descending sex &lt;STRONG&gt;notsorted&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;class age;&lt;/P&gt;&lt;P&gt;var weight ;&lt;/P&gt;&lt;P&gt;table age,weight*sum;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ksharp&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2012 03:02:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Sorting-using-Proc-Tabulate/m-p/95010#M26872</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2012-04-26T03:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting using Proc Tabulate</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Sorting-using-Proc-Tabulate/m-p/95011#M26873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; I see that you have DESCENDING on the CLASS statement for ORDER_TYPE, but where do you &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;use&lt;/STRONG&gt;&lt;/SPAN&gt; ORDER_TYPE in your revised code. You can't use a BY statement without knowing that the data are sorted. So, if you need to create a separate table for each ORDER_TYPE, and you can't sort, you COULD use BY with NOTSORTED, but you do have another alternative, which is to move ORDER_TYPE into the PAGE dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Here's an example of only 10 obs -- but the data are originally in NAME order or some other order. You can use the DESCENDING option on a CLASS statement. Note how I use GENDER, but with the DESCENDING option on the CLASS statement. Then GENDER is specified in the PAGE dimension. By default, TABULATE will make a "bucket" or "bin" for every value of GENDER and then by default, will order the display in ASCENDING order. ORDER=UNFORMATTED is the default value for a CLASS variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;** what if your data set is sort of ordered by NAME and you;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;** do not want to or cannot RE-sort by the GENDER variable?;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;** then use the PAGE dimension and DESCENDING;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;data classname;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; infile datalines;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; input name $ gender $ age weight;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;return;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;datalines;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;Alexis&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; F&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 14&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 84.0&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;Bob&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; M&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 14&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 98.0&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;Carol&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; F&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 15&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 102.5&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;John&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; M&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 14&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 89.5&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;Janet&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; F&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 15&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 112.5&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;Jake&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; M&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 15&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 92.5&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;Judy&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; F&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 15&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 90.0&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;Lucas&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; M&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 15&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 117.0&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;Mary&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; F&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 15&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 102.0&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;Allan&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; M&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 15&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 112.5&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;run;&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods listing close;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods html file='c:\temp\order_page_descending_no_by.html' style=sasweb;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;proc tabulate data=classname;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; title 'using classname want M table first';&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; class gender / descending&amp;nbsp; ;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; class age;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; var weight ;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; table gender,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; age,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; weight*(n min mean max);&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;run;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;title;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods html close;&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/11107i8997E6F080BDC309/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="want_m_table_first.png" title="want_m_table_first.png" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2012 17:02:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Sorting-using-Proc-Tabulate/m-p/95011#M26873</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2012-04-26T17:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting using Proc Tabulate</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Sorting-using-Proc-Tabulate/m-p/95012#M26874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alisa,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The general method to get a separate page for each ORDER_TYPE is to use that as a third dimension to the table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables ORDER_TYPE,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Supplier_Name,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Customer_Age_Group* ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It won't be in descending order, but as was noted above, you do have a few choices when it comes to the order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2012 17:56:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Sorting-using-Proc-Tabulate/m-p/95012#M26874</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2012-04-26T17:56:00Z</dc:date>
    </item>
  </channel>
</rss>

