Want to learn how to sort by Ascending or Descending Order?

E

Evan Gasker

Guest
In an effort to help this struggling support forum and, more importantly, those who may come across a problem like the one I just did, here's a quick and dirty way to change the "direction" of the sorting order.

Do a search or look for the string (in the line 355-365 range) that appears as:

$sql .= " order by ".$quote.$order.$quote;

in the form.php script. When you find it, append this to the end:

." DESC";

Your final line will look like:
$sql .= " order by ".$quote.$order.$quote." DESC";

This will allow you to sort numbers, dates, times and names in descending order. Obviously, if you want ascending order, you don't have to do anything since it's already the default.

Hope this helps someone!
Evan
 
Top