getOrderedNeighbours(ringConnections) {
    let orderedNeighbours = Array(this.neighbours.length);

    for (let i = 0; i < this.neighbours.length; i++) {
      let vertices = RingConnection.getVertices(ringConnections, this.id, this.neighbours[i]);
      orderedNeighbours[i] = {
        n: vertices.length,
        neighbour: this.neighbours[i]
      };
    }

    orderedNeighbours.sort(function (a, b) {
      // Sort highest to lowest
      return b.n - a.n;
    });
    return orderedNeighbours;
  }
Returns an array containing the neighbouring rings of this ring ordered by ring size.

@param {RingConnection[]} ringConnections An array of ring connections associated with the current molecule.
@returns {Object[]} An array of neighbouring rings sorted by ring size. Example: { n: 5, neighbour: 1 }.