Sort <, > operators

Added the less than and greater then operators so that it is possible to
sort lexicography symbols.