sort command is ignoring character '<' and '>' characters for sorting.
$ cat 1
< word6
< word5
> word1
> word2
> word3
< word4
$ sort 1
> word1
> word2
> word3
< word4
< word5
< word6
$
I want to sort the content by first character ('<' has ascii code 60, '>' ascii code 62) also. I want the below output from sort:
< word4
< word5
< word6
> word1
> word2
> word3
Is it possible to get above output ?