diff --git a/src/list_manipulations.rs b/src/list_manipulations.rs index db0b8d8..5871fec 100644 --- a/src/list_manipulations.rs +++ b/src/list_manipulations.rs @@ -28,7 +28,7 @@ pub fn sort_carefully(list: Vec, locale: Locale) -> Vec { let collator: Collator = Collator::try_new(&locale.into(), options).unwrap(); let mut newly_sorted_list = list; - newly_sorted_list.sort_by(|a, b| collator.compare(a, b)); + newly_sorted_list.sort_unstable_by(|a, b| collator.compare(a, b)); newly_sorted_list }