There's isn't a shorter way? If I'll sort them manually it will take ages, and... welp, it seems I'll need to rewrite the problem, but sort them first.
@edit:
$numbers = array(THE AWESOME CONTENT HERE);
sort($numbers);
var_dump($numbers);
I don't know what it did, but it did nothing, it didn't get sorted.
Still Googling on how to sort these arrays. I think PHP sorted them alphabetically, which they already were.
@edit2: ksort();
does sort by key and it worked, just need to find a way, to get it in descending order.
@edit3: They made entirely new function for that, krsort();
, I don't get why wouldn't they add option to previous function. But well, it does it's job. Thanks.