nodes: 0, module; 1, function_definition; 2, function_name:top_hits; 3, parameters; 4, block; 5, identifier:hits; 6, identifier:num; 7, identifier:column; 8, identifier:reverse; 9, expression_statement; 10, expression_statement; 11, for_statement; 12, comment:"""
      get top hits after sorting by column number
      """; 13, call; 14, identifier:hit; 15, subscript; 16, block; 17, attribute; 18, argument_list; 19, identifier:hits; 20, slice; 21, expression_statement; 22, identifier:hits; 23, identifier:sort; 24, keyword_argument; 25, keyword_argument; 26, integer:0; 27, identifier:num; 28, yield; 29, identifier:key; 30, call; 31, identifier:reverse; 32, identifier:reverse; 33, identifier:hit; 34, identifier:itemgetter; 35, argument_list; 36, identifier:column
code: def top_hits(hits, num, column, reverse):
      """
      get top hits after sorting by column number
      """
      hits.sort(key = itemgetter(column), reverse = reverse)
      for hit in hits[0:num]:
          yield hit