docstr: Sort provided sentences by score desc
docstr_tok: ["Sort","provided","sentences","by","score","desc"]
code: def sort_sentences_by_score(
      cls, sentences: List[Text2TextPrediction]
  ):
      """Sort provided sentences by score desc"""
      return sorted(sentences, key=lambda x: x.score, reverse=True)
  
imports: from typing import Dict, List, Optional
  from argilla.server.apis.v0.models.commons.model import BaseAnnotation, BaseRecord, BaseRecordInputs, BaseSearchResults, ScoreRange, SortableField
  from argilla.server.commons.models import PredictionStatus
  from argilla.server.pydantic_v1 import BaseModel, Field, validator
  from argilla.server.schemas.v0.datasets import UpdateDatasetRequest
  from argilla.server.services.metrics.models import CommonTasksMetrics
  from argilla.server.services.search.model import ServiceBaseRecordsQuery, ServiceBaseSearchResultsAggregations
label_desc: Use image node_id 1 for calling the Text2TextAnnotation obj's underlying member method code with example usage: obj.sort_sentences_by_score(cls, sentences) and returns: sorted