for i in *.bed;
do echo " sort -k1,1 -k2,2n $i > ${i%*.bed}_sorted.bed &"; done > bedsort_que.sh
