Have a list of version numbers. Example list("v-0.1" "v-1.0" "v-1.1" "v-2.0" "v-11.0" "v-11.2" "v-11.10")
The example is a sorted list and the latest is "v-11.10". The lastest is determined primarily by the number before the dot and secondarily by the number after the dot.
Suppose this list was not sorted? For example, given list("v-1.1" "v-1.0" "v-0.1" "v-11.10" "v-11.0" "v-11.2" "v-2.0") how can I sort this to get the version numbers in order?