VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Ten Different Sorting Methods

by Guillaume Couture-Levesque (3 Submissions)
Category: Miscellaneous
Compatability: Visual Basic 5.0
Difficulty: Advanced
Date Added: Wed 3rd February 2021
Rating: (8 Votes)

This program is to demonstrate the use of 10 different sorting methods. They all vary in speed and complexity. They are the following: Insertion Sort, Bubble Sort, Selection Sort, Shell Sort, Heap Sort, Merge Sort, Quick Sort, Radix Sort, Shaker Sort (Bi-Directional Bubble Sort), Odd-Even Transposition Sort). There will be more to come later on.

Inputs
Most of the functions just take the unsorted list and the number of elements in the array to be sorted. However, some of the functions will also require a temporary array that is of the same type and size as the unsorted array.
Assumes
This program is written only as a demonstration of the functions themselves, which can be modified to sort characters or strings, or pretty much anything else. If you plan on using my code, please send me a message and mention me in your code. There will also be more different functions to come as I discover and understand them.
Code Returns
Just the sorted array!
Side Effects
None that I know of!

Rate Ten Different Sorting Methods

Download Ten Different Sorting Methods

Download Ten Different Sorting Methods (5 KB)

Ten Different Sorting Methods Comments

No comments have been posted about Ten Different Sorting Methods. Why not be the first to post a comment about Ten Different Sorting Methods.

Post your comment

Subject:
Message:
0/1000 characters