PHP Classes

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    
Last Updated Ratings Unique User Downloads Download Rankings
2024-01-09 (4 months ago) RSS 2.0 feedStarStar 39%Total: 520 All time: 5,708 This week: 206Up
Version License PHP version Categories
sorting-algorithm 1.1BSD License5.2Algorithms, PHP 5


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: 38
All time rank: 69111 in Bangladesh Bangladesh
Week rank: 264 Up5 in Bangladesh Bangladesh Up


PHPSortingAlgorithm =================== 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,708
This week:206Up
 User Ratings  
 All time