<?php $cars = ['Toyota', 'Volvo', 'BMW']; usort($cars, function ($a, $b) { return $a <=> $b; }); var_export($cars);
You have javascript disabled. You will not be able to edit any code.