Usage: java -jar file_sort.jar in.txt [-o out.txt] [-i|-s] [-a|-d]
in.txt - input file
-o out.txt - output file (default out.txt)
-i - sort integers
-s - sort strings (default)
-a - sort in ascending order (default)
-d - sort in descending order
Wrong flags are ignored.
-i and -s flags can't be used together.
-a and -d flags can't be used together.