considering the following query:
ft.aggregate index "*" SORTBY 2 @id ASC is equal to:
ft.aggregate index "*" SORTBY 1 @id
c.B().FtAggregate().Index("index").Query("*").Sortby(1).Property("@id")
should be possible to use, however rueidis is only allowing this:
c.B().FtAggregate().Index("index").Query("*").Sortby(2).Property("@id").Asc()
I'd create a PR as well, but couldn't figure out the proper JSON format for the codegen, sorry about that
thanks!