Good morning @joe-barhouch,
Welcome to our community—it’s great to have you here!
Sorting isn’t directly available with vector searches. But you can use the rerank feature to kinda “sort” the results. I’m also looking into improving the documentation to clarify about sorting further so it does not cause confusion.
It’s important to note that rerank works after the initial search, meaning it doesn’t sort the entire dataset but instead reorders the search results based on relevance. However, it should still provide a reasonable approximation for sorting by attributes.
Regards,
Mohamed Shahin
Weaviate Support