Support Home Page › Forums › Joomla Software › Easy Folder Listing Module › Trying to sort my list by date › Re: Trying to sort my list by date
January 14, 2012 at 1:04 am
#1400
![](https://support.michaelgilkes.com/wp-content/uploads/2018/06/michael-bearded-2-80x80.jpg)
Keymaster
@tchoidesign. Ok, I am on the forum late tonight. I haven’t tested this code, but it should work. You will be editing code in the helper.php file.
STEP 1: Go to around line 67, and you will see:
1 |
$list[$index]['date'] = modEasyFolderListingHelper::formatDate($params, $filestats['mtime']); |
Change it to:
1 |
$list[$index]['date'] = $filestats['mtime']; |
STEP 2: Go to line 220, and you should see:
1 |
$html .= $rows[$i]['date']; |
Change it to:
1 |
$html .= modEasyFolderListingHelper::formatDate($params, $rows[$i]['date']); |
STEP 3: Go to line 268, and you should see:
1 |
$html .= ' ['.$rows[$i]['date'].']'; |
Change it to:
1 |
$html .= ' ['.modEasyFolderListingHelper::formatDate($params, $rows[$i]['date']).']'; |
That’s it!