Enhancement Request: Add Sorting Order Selection to Bubble Sort CLI Tool
Description
Currently, the Bubble Sort mini-project supports only ascending order sorting.
I would like to enhance the existing CLI tool by allowing users to choose the sorting order (ascending or descending) before performing the sort operation.
Proposed Changes
-
Add user choice for:
- Ascending Order
- Descending Order
-
Improve input validation for invalid order selection
-
Add additional test cases for descending order sorting
-
Keep the implementation CLI-based only
Example
Choose sorting order:
1. Ascending
2. Descending
Note
This enhancement is limited to the existing command-line interaction and does not overlap with GUI/visualization-related feature requests already under discussion.
Benefits
- Improves flexibility of the sorting tool
- Enhances learning experience for beginners
- Makes the Bubble Sort implementation more reusable and interactive
I would like to work on this enhancement under GSSoC.
Enhancement Request: Add Sorting Order Selection to Bubble Sort CLI Tool
Description
Currently, the Bubble Sort mini-project supports only ascending order sorting.
I would like to enhance the existing CLI tool by allowing users to choose the sorting order (ascending or descending) before performing the sort operation.
Proposed Changes
Add user choice for:
Improve input validation for invalid order selection
Add additional test cases for descending order sorting
Keep the implementation CLI-based only
Example
Note
This enhancement is limited to the existing command-line interaction and does not overlap with GUI/visualization-related feature requests already under discussion.
Benefits
I would like to work on this enhancement under GSSoC.