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] ]];echo true;fi;done;done