Dr. Attaullah Shah
Keymaster
Post count: 106

Hello Ha Thai Son

I have added option sort with the tabulate command. To get the latest version, please type:

asdocx_update

See the following two examples:

asdocx tab rep78

----+-----------------------------------------------------------------------------
  1 |Repair Record 1978              Freq.          Percent             Cum. 
----+-----------------------------------------------------------------------------
  2 |1                                   2             2.90             2.90 
  3 |2                                   8            11.59            14.49 
  4 |3                                  30            43.48            57.97 
  5 |4                                  18            26.09            84.06 
  6 |5                                  11            15.94           100.00 
  7 |Total                              69           100.00                  
----------------------------------------------------------------------------------
 
* Using option sort
asdocx tab rep78, sort
 
----+-----------------------------------------------------------------------------
  1 |Repair Record 1978              Freq.          Percent             Cum. 
----+-----------------------------------------------------------------------------
  2 |3                                  30            43.48            43.48 
  3 |4                                  18            26.09            69.57 
  4 |5                                  11            15.94            85.51 
  5 |2                                   8            11.59             97.1 
  6 |1                                   2             2.90              100 
  7 |Total                              69           100.00                  
----------------------------------------------------------------------------------