sort by first occurrence by Korvin

<?\x0d
while($v=fgets(STDIN))$o[$v]++;\x0d
foreach($o as$k=>$v)while($v--)echo$k;

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page