I would like to have an extender added to Ditto to list resources by float(number TV) value, this would allow us to sortby price, length and year.
Thanks Bruno17 but I’m looking to sort by price, the code only seems to work for the year and not price
Try editing the code in Bruno’s link to:
$a = (float)substr($a[’pagetitle’], 9);
$b = (float)substr($b[’pagetitle’], 9);
Then you’ll have a float comparison.
-- Tim.