Is this not normal or is there something I am not understanding about the reverse commands? Isn’t it supposed to give me the same result as the range command but reversed? The reason I am even thinking about using reverse commands is that the COUNT parameter returns the first N items rather than the last N items. I’m kinda surprised me that there is a parameter for returning the Last N items, it would see a lot more use than the COUNT one (in my opinion).
Which version are you using? (I cannot reproduce it on my instance)
Using docker run -p 6379:6379 -it --rm redislabs/redistimeseries:1.4.2), the ts.range and ts.revrange are sorting using the timestamp ascending/descending as you expect.
Using more or less the same data (I have change the value to make it easier to read)
Adding all data: (with the same timestamp that you have listed)
I am running a 2 month old redismod:edge version. If you show me how I can see which version I have I will post it back to you. But it might not matter, if its fixed in the latest edge release (or any stable release that has all Redis modules) I will just pull that one.