Added tests and docs for #ascending? and #descending?