Add yuidoc

- Use default comparator if not supplied.