Links: fix sort order

Yeah, this is pretty stupid. Oh well.