<?php $x = []; $x[2] = 'a'; $x[1] = 'b'; $x[0] = 'c'; ksort($x); echo json_encode($x);
You have javascript disabled. You will not be able to edit any code.