Random order for multiple query results in Time Series Panel and legend

  • What Grafana version and what operating system are you using?
    Amazon Timestream plugin 2.1.0
    Grafana 9.0.3
    Windows 10 21H1

  • What are you trying to achieve?
    I am trying to show the result of 6 queries ordered.
    This is:
    query_result_1, query_result_2, … ,query_result_n

  • How are you trying to achieve it?
    I tried to set up the queries ordered in the menu and searched in the options a way to order this.

  • What happened?
    Instead each time I refresh the panel the query results shows with an apparently random order.

  • What did you expect to happen?
    I expected that the order of the plots and the legend was equal to the order in which the queries were in the data source menu.