JortSort: Difference between revisions

m (→‎{{header|Phix}}: added syntax colouring, marked p2js compatible)
Line 390:
Outputs:<pre>0
1</pre>
 
=={{header|BQN}}==
BQN has a really simple way to represent JortSort:
 
<lang bqn> JSort ← ≡⟜∧
JSort 3‿2‿1
0</lang>
Which means "Does the array match itself sorted?"
 
Another equivalent function is <code>⊢≡∧</code>.
 
 
 
=={{header|C}}==
236

edits