PHP Array Sort Algorithms class: Sort arrays values using multiple algorithms

Recommend this page to a friend!
  Info   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 510 All time: 5,716 This week: 359Up
Version License PHP version Categories
sorting-algorithm 1.0BSD License5.2Algorithms, PHP 5
Description Author

This class can sort arrays values using multiple algorithms.

It provides several functions that take an array with numbers and returns a sorted version of that array.

Each function sorts the values using a different algorithm. Currently it supports sort algorithms like bubble, selection, insertion, shell, comb and merge.

Picture of Shibly
Name: Shibly <contact>
Classes: 7 packages by
Country: Bangladesh Bangladesh
Age: 35
All time rank: 69811 in Bangladesh Bangladesh
Week rank: 583 Up12 in Bangladesh Bangladesh Down



Recently I've learnt a lot about sorting algorithms and plan to implemented them using my
favourite language PHP :) . This is an initial commit. More algorithms will be implemented in later time

Wikipedia is a great source to learn and I've learnt a lot more from there. The basics and the algorithms.

Hope you will enjoy it. 

Listed Algorithms that are implemented :

1. Bubble Sort
2. Selection Sort
3. Insertion Sort
4. Shell Sort
5. Comb Sort
6. Merge Sort
7. Quick Sort
8. Gnome Sort
9. Radix Sort

  Files folder image Files  
File Role Description
Files folder imagenbproject (2 files)
Accessible without login Plain text file arrayMinValue.php Example Example script
Plain text file ListOfSort.php Class Class source
Accessible without login Plain text file Data Documentation
Accessible without login Plain text file swap.php Aux. Auxiliary script

  Files folder image Files  /  nbproject  
File Role Description
  Accessible without login Plain text file Data Auxiliary data
  Accessible without login Plain text file project.xml Data Auxiliary data

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:5,716
This week:359Up

For more information send a message to info at phpclasses dot org.