I have a sample of my data with the following array that's currently in the order the result should look like; how would I implement a counting sort to keep this data organized in this form:
Organized by the first 4 digits in ascending order.
Organized by the last 4 digits after the "-" delimiter in a ascending order.
Check for digits after the ":" delimiter and organize in ascending order
array = [5080-2002,5080-2002:01,5080-2002:02,5080-2102,5080-2102:01,5080-2103,5080-2103:01,5460-1601,5460-1601:01,5460-1601:02]
This is way beyond my current level of experience, so any help would be greatly appreciated!
Thank you!!