original_docstring: 
          Sort by dimension and by sentiment
          :return:
          
docstring: Sort by dimension and by sentiment
docstring_tokens: Sort by dimension and by sentiment
code: def sort_by_dimension_sentiment_table(self) -> None:
          """
          Sort by dimension and by sentiment
          :return:
          """
  
          temp_table = []
          for dimension in cons.dimensions:
              temp = [d for d in self.table_surveys_replies if d['dimension'] == dimension]
              temp = sorted(temp, key=lambda k: k['sentiment'], reverse=True)
              temp_table.extend(temp)
          self.table_surveys_replies = temp_table
code_tokens: def sort_by_dimension_sentiment_table ( self ) -> None : temp_table = [ ] for dimension in cons . dimensions : temp = [ d for d in self . table_surveys_replies if d [ 'dimension' ] == dimension ] temp = sorted ( temp , key = lambda k : k [ 'sentiment' ] , reverse = True ) temp_table . extend ( temp ) self . table_surveys_replies = temp_table
short_docstring: Sort by dimension and by sentiment
short_docstring_tokens: Sort by dimension and by sentiment
comment: """
          Sort by dimension and by sentiment
          :return:
          """