code: def is_sortable_index(self, index_name, catalog):
          
          index = self.get_index(index_name, catalog)
          if not index:
              return False
          return index.meta_type in ["FieldIndex", "DateIndex"]
docs: Returns whether the index is sortable