add sorted function
more tests
remove function
more curry