code: function FindExceptionInList(playerCards, dealerCard, overrides)
  {
      // First create a sorted version of this list    
      var sortedHand = playerCards.slice(0).sort((a, b) => (a-b));
      var action = null;
  
      // Now you can compare
      for (var i = 0; i < overrides.length; i++)
      {
          if ((dealerCard == overrides[i].dealer) && (sortedHand.length == overrides[i].hand.length))
          {
              for (var card = 0; card < sortedHand.length; card++)
              {
                  if (sortedHand[card] != overrides[i].hand[card])
                  {
                      // Not a match
                      break;
                  }
              }
  
              // If we got all the way through, it's a match!
              if (card == sortedHand.length)
              {
                  // We did it!
                  action = overrides[i].action;
                  break;
              }
          }
      }
  
      return action;
   }
docs: /*
  Internal functions