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 k=$j+1;if [[ a[$j] > a[$k] ]];then t="${a[$k]}";a[$k]="${a[$j]}";a[$j]=$t;fi;done;done
echo $(IFS=;echo "${a[*]}")

stdin

1910858790235858869526824569565867200036939985645434110833788149313951432717786707085222550688847242

stdout

1910858790235858869526824569565867200036939985645434110833788149313951432717786707085222550688847242

stderr

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

strace