fixed .gitignore to ignore docs.
fixing lambda sort