<?php $data = [12, 6, "Test", "AAA", "8"];sort($data);print_r($data);
Standard input is empty
Array ( [0] => AAA [1] => Test [2] => 6 [3] => 8 [4] => 12 )
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!