code: function(sel, node) {
    var results = []
      , test = compile(sel)
      , scope = node.getElementsByTagName(test.qname)
      , i = 0
      , el;
  
    /*jshint -W084 */
    while (el = scope[i++]) {
      if (test(el)) results.push(el);
    }
  
    if (test.sel) {
      while (test.sel) {
        test = compile(test.sel);
        scope = node.getElementsByTagName(test.qname);
        i = 0;
        /*jshint -W084 */
        while (el = scope[i++]) {
          if (test(el) && indexOf.call(results, el) === -1) {
            results.push(el);
          }
        }
      }
      results.sort(order);
    }
  
    return results;
  }
docs: Selection