echo "test_1.txttest_2.txttest_11.txttest_12.txttest_3.txt" | sort -t_ -nk2,2
Standard input is empty
test_1.txt test_2.txt test_3.txt test_11.txt test_12.txt
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!