Add size 1 to trivial cases in reverse
Add test for sort