However after i sort it i then need to split it to different pages, so i have something like this:
Code:
foreach($myRay as $key =>$value) {
if (($mindisp <= $key) && ($key < $maxdisp)){
echo 'Value String' .$value;
}
}
And because it limits it using the $key it cancels out the sort that was orginally done. Is there a way to make the sort renumber the arrays? so that instead of after sort looking like this: