Most complicated one-liner I've ever written to unbrittalize version sorting.