Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Sorting in Descending Order

    How do I sort a numeric column in descending order? For example, I want to sort age from highest to lowest - 49, 47, 32, 21, etc. Using "gsort" does not do the trick when I thought it would. Any advice?

  • #2
    Did you try
    Code:
    gsort - age
    It will, of course, sort the entire dataset, not just the age variable (column).

    Comment

    Working...
    X