I would like to sort the table by the value $line_item->changed. What would be the simplest way to do this so it is updated on every change?

Comments

prjcarr created an issue. See original summary.

subhojit777’s picture

You can sort the render array according to $line_item->changed in some preprocess function.

subhojit777’s picture

Status: Active » Closed (won't fix)

You have to do such customizations in your own preprocess function.