Add support for SORT command defined in IMAP RFC 5256

Support for IMAP SORT command defined in RFC 5256
http://tools.ietf.org/html/rfc5256

Request issue #59