Provides utility methods needed to use a string value as a "rank" in a database.
Inspired by this Stack Overflow answer. Here we expose two simple methods which should allow use of string ranks.
increaseRank(rank: string, by: number): string
Which can be used to fill existing rows in a database by simply iterating and increasing each value by a given ammount.moveBetween(rankA: string, rankB: string): string
Which simply returns a new rank string at the halfway distance between the two provided values. This allow us to simply update a single record in a database to arbitrarily rank rows.