<?php $array = [10 => '10 (int)', 50 => '50 (int)', 'foo' => 'foo (string)']; ksort($array, SORT_NUMERIC); print_r(array_keys($array));
You have javascript disabled. You will not be able to edit any code.