sort_by_index_name#
- langchain_community.vectorstores.neo4j_vector.sort_by_index_name(lst: List[Dict[str, Any]], index_name: str) List[Dict[str, Any]] [source]#
Sort first element to match the index_name if exists
- Parameters:
lst (List[Dict[str, Any]]) –
index_name (str) –
- Return type:
List[Dict[str, Any]]