code: def get_argnames_by_cardinality_increasing(self):
      key_cardinality = lambda x: len(set(self.args[x]))
  
      def key_strings_first(x):
          try:
              as_float = float(self.args[x][0])
              return True
          except:
              return False
  
      by_cardinality = sorted(self.args.keys(), key=key_cardinality)
      strings_first = sorted(by_cardinality, key=key_strings_first)
      return strings_first
  
file_path: arrow/cpp/src/arrow/acero/hash_join_graphs.py
imports: import math
  import sys
  import json
  import matplotlib.pyplot
  import seaborn
label_desc: Use image node_id 2 for calling the Test obj's underlying member method code with example usage: obj.get_argnames_by_cardinality_increasing() and returns: strings_first, True, False