fix a bug with unicode input sorting
cleanup
rebuild wrapper