I don’t really understand the rules of the sorting you’re trying to achieve but if it’s “random”, you have to change the axis to Ordinal and then use your data to sort it by creating a dimension that will output sequence of numbers according to your rules and then use that dimension to sort data in the data table