SQL Filters get randomly reordered without any possible modification

Hi, I've run into a very strange behaviour in the SQL editor: sometimes it rearranges my filters in an order that can't be modified but in no way is the order we need/want. IAfter some testing and it appears to happen after (in my case) 8 different filters, and always in the same weird order.

I've copied/pasted the code in a new question to better understand and the result is the following:

How can I decide the order of my filters? What am I missing here?

Thanks!

1 Like

Hmm, could you file this as a github issue? Thanks!

Sure! Here it is: Issue 5136

1 Like

Hi @maz, any update on this issue?

Sorry, I don’t have any new info at this time beyond what’s already in the GH issue.

I have the same problem. How to solve this problem ?

@supercoder There's an open issue about this:
https://github.com/metabase/metabase/issues/5136 - upvote by clicking :+1: on the first post