CalmSoul
asked on
Php sort algorithm
Is there any third party sorting algorithm or class available for php? Which reads character by character in the string and and sort it accordingly
There are several sorting algorithms, including a generic one so you can define your own custom sorting. It would help to know the details. Can you provide an example of what the starting data looks like and how you want it to look AFTER sorting?
ASKER
I have array like this
File 2 - Part 1
Fall
File 2 - Part 4
File 2 - Part 3
Ideal Sorting Results
Fall
File 2 - Part 1
File 2 - Part 3
File 2 - Part 4
File 2 - Part 1
Fall
File 2 - Part 4
File 2 - Part 3
Ideal Sorting Results
Fall
File 2 - Part 1
File 2 - Part 3
File 2 - Part 4
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.