compareTo

open operator override fun compareTo(other: RedwoodVersion): Int

Compare two versions to see which is newer.

Note: Comparing instances is not particularly efficient, so the result should be cached instead of comparing each time.