Example:
If you wanted to sort elements by the second field, you would specify the second field in this way sort -t: +1 -3 elements.dat The +1 means "skip the first field". The -3 means "stop sorting at field three, don't use field three and beyond." What is left, is field two.