2017 © Pedro Peláez
 

library php-sorting

A sorting library for PHP

image

1blankz7/php-sorting

A sorting library for PHP

  • Monday, July 17, 2017
  • by 1blankz7
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1,762 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 21 % Grown

The README.md

Cubicl\Sorting Module

Implementation of a generic sorting system with an interface definition compatible to the Comparable RFC., (*1)

Usage

You have two possible options. Depending on your use case you can implement the Cubicl\Sorting\Comparable interface or use a comparator., (*2)

<?php

// with a comparable
$orderedList = $sortManager->sortComparable($unorderedListOfComparable);

// or with a comparator
$orderedList = $sortManager->sortWithComparator($comparator, $unorderedList);

The Versions

17/07 2017

dev-master

9999999-dev https://github.com/1blankz7/php-sorting

A sorting library for PHP

  Sources   Download

MIT

The Development Requires

array sorting

17/07 2017

0.1.0

0.1.0.0 https://github.com/1blankz7/php-sorting

A sorting library for PHP

  Sources   Download

MIT

The Development Requires

array sorting