<?php $a = array(); $a[1] = 'test1'; $a[2] = 'test2'; $a[5] = 'test5'; $a[4] = 'test4'; $a[3] = 'test3'; sort($a); print_r($a);
You have javascript disabled. You will not be able to edit any code.