Ordering Y axis in heatmap


Hello, I’ve been trying to order the horizontal slices of that heatmap and I could not find anything to accomplish that.
I wish to order the rows by {{exported_endpoint}} then {{le}}, it should be possible since thats what the data is split by, but the {{le}} is being ordered as a string.

It does not respect Legend either since I am getting the same sorting for both
{{exported_endpoint}} {{le}}
and
{{le}} {{exported_endpoint}}
rows are grouped by endpoint in the second option too!

I understand that right now its sorting as if {{le}} is a string but if it at least respected Legend I could work with it