My sorter iz lazy

This is my code: i\to\left{i=j:\operatorname{random}\left(\right)\right}\left{i>j:j\right},j\to\left{i>j:i\right}\left{j>k:k\right},k\to\left{j=k:\operatorname{random}\left(\right)\right}\left{j>k:j\right}
once i,j,k are unsorted, it stops and refuses to do anything and the ticker greys out. please help!

Welcome! A link to your activity would be more helpful, but this appears to be more of a Desmos calculator question. Try submitting your question to support.desmos.com.