qudi.util.helpers.natural_sort
- qudi.util.helpers.natural_sort(iterable: Iterable[Any]) List[Any][source]
Sort an iterable of strings in an intuitive, natural way (human/natural sort). This is useful for sorting alphanumeric strings that contain integers.
- Parameters:
- iterablelist of str
Iterable with string items to sort.
- Returns:
- list
Sorted list of strings.