public static function Semver::sort in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/composer/semver/src/Semver.php \Composer\Semver\Semver::sort()
Sort given array of versions.
Parameters
array $versions:
Return value
array
File
- vendor/
composer/ semver/ src/ Semver.php, line 69
Class
Namespace
Composer\SemverCode
public static function sort(array $versions) {
return self::usort($versions, self::SORT_ASC);
}