Result

WA

Code [DL]

a=()
while read -n 1 c;do a+=($c);done
for((i=0;i<100;i++));do for((j=0;j<99;j++));do if [[ a[$i] < a[$j] ]];then t=a[$i];a[$i]=a[$j];a[$j]=$t;fi;done;done
echo $(IFS=;echo "${a[*]}")

stdin

7235591091430998451611928188378010486075568834689929804804957656518798369770148300746706533638258181

stdout

a[98]a[19]a[29]a[39]a[49]a[59]a[69]a[79]a[89]a[99]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[98]a[9]a[9]

stderr

/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)

strace