How would you compare version numbers like dot-separated strings to determine which version is greater?