You are here

public static function Semver::sort in Automatic Updates 7

Sort given array of versions.

Parameters

array $versions:

Return value

array

File

vendor/composer/semver/src/Semver.php, line 69

Class

Semver

Namespace

Composer\Semver

Code

public static function sort(array $versions) {
  return self::usort($versions, self::SORT_ASC);
}