Description:
This Kotlin project is a versatile sorting tool that allows users to sort data of different types, including numbers and strings, using various sorting methods. It provides a simple command-line interface for sorting and displaying sorted data.
Features:
- Sort numerical data (integers) in ascending order.
- Sort strings in lexicographic (alphabetical) order.
- User-friendly command-line interface.
- Dynamic data input: Users can add multiple data points for sorting.
- Supports both numbers and strings.
Usage:
- Run the program.
- Choose the data type (Numbers or Strings) you want to sort.
- Input the data points to be sorted.
- The program will display both the unsorted and sorted versions of the data.
Contributions, bug reports, and feature requests are welcome! Feel free to contribute to this project or provide feedback to make it even more useful.
The code includes comments to explain its functionality and provide context. It also includes a fun message at the end: "Some mistakes get made, that's the moral of the story."