Implementing link comparison like JVM NetLogo does

Initially, I scoffed at this and refused to do it, but I've finally
caved.  Yeah, it's crazy to me to sort links based on when their breed
was declared, but some tests count on this, so....