update error output
add sort to Cargo.toml