Permutations N=4
Could use backtracking or other algorithm to generate sorted numbers. Second chance !
Start file
1234
End file
1234 1243 1324 1342 1423 1432 2134 2143 2314 2341 2413 2431 3124 3142 3214 3241 3412 3421 4123 4132 4213 4231 4312 4321
View Diff
1a2,24 > 1243 > 1324 > 1342 > 1423 > 1432 > 2134 > 2143 > 2314 > 2341 > 2413 > 2431 > 3124 > 3142 > 3214 > 3241 > 3412 > 3421 > 4123 > 4132 > 4213 > 4231 > 4312 > 4321
Solutions by @TitouanT_:
Unlock 9 remaining solutions by signing in and submitting your own entry