So concerning the problem, I can't open the capx, even after having installed the plugin version from Joe7's topic.
Have you updated the plugin you are using or could it be some old version, that would explain the incompatibility ?
An array could help somehow. Two dimensions.
Talking from your picture,
x: 0, y:0, value null
x: 1, y:0, value 6
x: 2, y:0, value 3
x: 3, y:0, value 9
Etc... all the way to
x: 0, y:3, value 16
x: 1, y:3, value 5
x: 2, y:3, value 14
x: 3, y:3, value 11
Set a variable VC = 0
Set a variable 2Comp = 0
For each Tiles, store tile.index (or the name of the value they are displaying) to the correct X, Y in the array.
Set VC to 1 and run two loops (one for Y and the other for X).
Check that the value of array.at(X,Y) matches 2Comp and increment it each step. (the value of 2Comp would then be 0, then 1, 2 etc...)
Making a while loop in events if you want. As long as the values match, you do nothing.
The moment the comparison is false, you could set VC to 0.
After the looping is done, check VC. If it is 1, then you have ordered all the tiles as expected.
If it's 0, victory is not there.
You could facilitate things by keeping the X and Y of our virtual grid as instance variable of the tiles. It will make it easy/quicker to store the values in the array.
That's an implementation I guess.