zone.lisp: Refactor and improve the domain-name sorting.
authorMark Wooding <mdw@distorted.org.uk>
Wed, 30 Apr 2014 14:41:05 +0000 (15:41 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 30 Apr 2014 15:17:29 +0000 (16:17 +0100)
commit05e83012402ab4231225d00f937924272924fb4b
tree9ff3d498667471b8fbb23f665ae67f57731f1695
parent80b5c2ffcd36eb88b6b8f87dc711cf93ebfc27d9
zone.lisp: Refactor and improve the domain-name sorting.

Sort the components according to a `natural' ordering which tries to do
approximately sane things with numeric sequences.  It's not always
successful: in particular, it wants to order 144, 144-159, 145, ...; but
it's not too awful.
zone.lisp