def METHOD_NAME(self, results):
    """
    Default sorting algorithm for results. Sorts by score descending, if available.
    Args:
        results: query results
    Returns:
        results ordered by score descending
    """
    # Sort standard query using score column, if present
    if results and "score" in results[0]:
        return sorted(results, key=lambda x: x["score"], reverse=True)
    return results