From c627e5b88ea9864be61392bab585cbdcee76eaaa Mon Sep 17 00:00:00 2001 From: Risto Lahtela <24460436+AuroraLS3@users.noreply.github.com> Date: Fri, 23 Apr 2021 09:31:29 +0300 Subject: [PATCH] Sort Extension data by value if something is a number Affects issues: - Fixed #1399 --- .../rendering/html/structure/DynamicHtmlTable.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Plan/common/src/main/java/com/djrapitops/plan/delivery/rendering/html/structure/DynamicHtmlTable.java b/Plan/common/src/main/java/com/djrapitops/plan/delivery/rendering/html/structure/DynamicHtmlTable.java index 19f5cb1f3..261297f9a 100644 --- a/Plan/common/src/main/java/com/djrapitops/plan/delivery/rendering/html/structure/DynamicHtmlTable.java +++ b/Plan/common/src/main/java/com/djrapitops/plan/delivery/rendering/html/structure/DynamicHtmlTable.java @@ -17,6 +17,7 @@ package com.djrapitops.plan.delivery.rendering.html.structure; import com.djrapitops.plan.extension.table.Table; +import org.apache.commons.lang3.math.NumberUtils; import java.text.ParseException; import java.text.SimpleDateFormat; @@ -96,7 +97,11 @@ public class DynamicHtmlTable implements HtmlTable { long time = dateFormat.parse(valueString).getTime(); builtBody.append("