<?php $a = [['cpm' => 10], ['cpm' => '20']]; usort($a, function($a,$b){ return $a['cpm'] - $b['cpm']; }); var_dump($a);
You have javascript disabled. You will not be able to edit any code.