Sort based on cosine similarity of float arrays

Is it possible to sort based on the Cosine similarity of two different float arrays? Similar to how you can sort by geo distance by passing a coordinate to sort?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.