Hi I have a list of files:
"1_EX-P1-H2.3000" "10_EX-P1-H2.3002" "100_EX-P1-H2.3074"
"1004_EX-P1-H2.4059" "1006_EX-P1-H2.4070" "2_EX-P1-H2.3000" "3_EX-P1-H2.3000" "4_EX-P1-H2.3000"
"5_EX-P1-H2.3001"
I want to sort not by lexicographically order but buy the order of the first number before the "_", these numbers go from 1 to 1000. So as result I should obtain:
"1_EX-P1-H2.3000" "2_EX-P1-H2.3000" "3_EX-P1-H2.3000" "4_EX-P1-H2.3000"
"5_EX-P1-H2.3001" "10_EX-P1-H2.3002" "100_EX-P1-H2.3074"
"1004_EX-P1-H2.4059" "1006_EX-P1-H2.4070"