update version number to 4.0.0
unify logging
rename comparator to ordering
format ordering code
release-4.0.0
ready publish 4.0.1
merge release 4.0.1