quantsupport 0.1.5

Rust library for derivative pricing and risk analytics.
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
}