add sorted to curried namespace

Add the builting sorted function to the curried namespace.  This allows `sorted(key=func, reverse=True)` to be used within functions like `compose` and `pipe`.