Sorting strings with numbers in Bash [duplicate] February 11, 2023 by Tarik Execute this sort -t _ -k 2 -g data.file -t separator -k key/column -g general numeric sort