ANSI SQL has available the functions RANK() and DENSE_RANK() to rank your data! Seriously studying SQL is really paying of! #TIL #SQL
@rennerocha grievances aside, modern SQL does make for a rather nice language for analytical data-wrangling in general