Features

You can use this package to sort lists. Currently this package provides sorting only list with dates.

Getting started

Just add this package to your pubspec.yaml, read the usage and you are good to go

Usage

Sort every list with dates in ascending order, simply create an instance of SortList and add the sortByDate() Function to it.

List<String> exampleList = [
    '12.05.2022',
    '13.05.2022',
    '14.05.2022',
    '15.05.2022'
  ];
  SortList list = SortList(exampleList);
  print(list.sortByDate());

Additional information

Additional Information about future sorting algorithms will be released here.