Find the following code around line 44
$entries_showed = 0;
if(!empty($all_db)){
foreach ($all_db as $line){
if($j < $start_from){ $j++; continue; }
$i++;
[copy code to clipboard]
And replace it with the following code
$entries_showed = 0;
if(!empty($all_db)){
// Sort Edit News Page v1.0
if (!function_exists('editnews_sortcmp')) {
function editnews_sortcmp($a, $b) {
global $all_db;
$news_a = explode('|', $all_db[$a]);
$news_b = explode('|', $all_db[$b]);
return strnatcasecmp($news_a[2], $news_b[2]);
}
}
uksort($all_db, 'editnews_sortcmp');
// End Sort Edit News Page v1.0
foreach ($all_db as $line){
if($j < $start_from){ $j++; continue; }
$i++;
[copy code to clipboard]