The IDs are assigned in increasing order, so this has the net effect
of peer results returned in the order they were connected. It also
keeps the order the same across multiple calls.
This matches the behavior of the current pull request implementing
getpeerinfo in dcrwallet.