Make examples that actually work, implement sort-friendly comparison functions
update .gitignore