I am trying to use "findgroups" in order to later split my data into different groups. But the order at which the groups are seperated is important for me. Using "findgroups" the order of groups is not "stable". How can I change that?
I did this:
doesn't come in that same order as
I know that in unique, stable can fix this
here q will be in order that unique values occur in labels_all.