advance ndarray sort to semver