12-10

A "semantic version" is a string of format x.y.z, where x is the major
version number, y is the minor version number, and z is the patch
version number. Given a newline-separated string with these version
numbers, return a newline-separated string with the versions sorted
from highest to lowest. When sorting, x takes priority over y, and y
takes priority over z.