function siblingsInArray(array, layer) {
  var siblings = []
  array.forEach(function(arrayItem) {
    if (layer.parentGroup() == arrayItem.parentGroup())
      siblings.push(arrayItem)
  })

  return siblings
}
Returns an array of all layers that are siblings to 'layer'
from a given array