It really depends on the internal sort algorithm.
The "never finish" scenario is not the worse possible one:
on some old versions of perl, my shuffle function crashes the
perl interpretor :)
That is why this really belongs to the obfuscation category... to answer a remark on the CB.