On the Manage Case page, the activities are now displayed in a clever order (overdue first, then the rest in newest-to-oldest order). I can imagine that this makes sense in some situations, but it doesn't in ours, so I need to tweak the code to have a simple ASCENDING order (oldest last). Previously, I had tweaked civicrm/templates/CRM/Case/Form/ActivityTab.tpl to replace
class="nestedActivitySelector crm-ajax-table" data-page-length="10" with
class="nestedActivitySelector crm-ajax-table" data-page-length="50" data-order='[[0,"asc"]]'>
(see also this post), but this tweak no longer has any effect.
Can some kind developer please point to the part of the code which I need to change? Thank you.