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]#
Deprecated since version 0.3.8: Use
:meth:`~langchain_neo4j.vectorstores.neo4j_vector.sort_by_index_name`
instead.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]]