Why can't I do this using convex filter helper function. It is not allowing me to sort data using any custom index.