quantsupport 0.1.7

Rust quantitative finance library for derivatives pricing, yield-curve bootstrapping, AAD risk, Monte Carlo exposure, and XVA.
Documentation
1
2
3
4
5
6
7
/// Sorts a slice of strings in alphabetical order and returns a new sorted vector.
#[must_use]
pub fn sort_strings_alphabetically(strings: &[String]) -> Vec<String> {
    let mut sorted_strings = strings.to_owned();
    sorted_strings.sort();
    sorted_strings
}