From f46ec17c037980a90c185d43b4d09fa96db697a4 Mon Sep 17 00:00:00 2001 From: naielv <109038805+naielv@users.noreply.github.com> Date: Fri, 19 Sep 2025 21:33:25 +0200 Subject: [PATCH] update app_modules.js --- src/app_modules.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app_modules.js b/src/app_modules.js index e046fd5..5902cbc 100644 --- a/src/app_modules.js +++ b/src/app_modules.js @@ -788,7 +788,7 @@ function TS_IndexElement( function sorter(a, b) { // 1. Fecha (ascending) if (a.Fecha && b.Fecha && a.Fecha !== b.Fecha) { - return a.Fecha < b.Fecha ? -1 : 1; + return a.Fecha > b.Fecha ? -1 : 1; } // 2. Region (ascending, from SC_Personas if Persona exists) const regionA = a.Persona && SC_Personas[a.Persona] ? SC_Personas[a.Persona].Region || "" : a.Region || "";