Adding flag to sort for giving full path to output file instead of prefix.

The -f flag can be used for specifying the full path to the output.

This is very useful in workflow engines.