lib/cellular-automata.js
function neighbourhoodSorter (a, b) {
  a = a.join(',');
  b = b.join(',');
  return a > b ? 1 : a < b ? -1 : 0;
}
function neighbourhoodSorter (a, b) {
  a = a.join(',');
  b = b.join(',');
  return a > b ? 1 : a < b ? -1 : 0;
}
function neighbourhoodSorter ( a , b ) { a = a . join ( ',' ) ; b = b . join ( ',' ) ; return a > b ? 1 : a < b ? - 1 : 0 ; }
Sort the neighbourhood from left to right, top to bottom, ...
@param {Array} a First neighbour
@param {Array} b Second neighbour
@returns {number}
Sort the neighbourhood from left to right top to bottom ...