Use your own table and your own columns!
Since you didn't give us any real example to work with, I had to make one up.
I showed the basics: How to sort text and date and number columns. Just clone those sort functions and rename them/adapt them to match your data.
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.