From 0219f34e71df8e207883925b07d6be356d48ddfb Mon Sep 17 00:00:00 2001 From: Martin McKeaveney Date: Tue, 28 Jul 2020 19:40:52 +0100 Subject: [PATCH] improved sorting logic --- packages/standard-components/package.json | 1 + .../standard-components/src/DataTable.svelte | 34 +++++-------------- 2 files changed, 9 insertions(+), 26 deletions(-) diff --git a/packages/standard-components/package.json b/packages/standard-components/package.json index 516a888a05..20a19aec74 100644 --- a/packages/standard-components/package.json +++ b/packages/standard-components/package.json @@ -38,6 +38,7 @@ "gitHead": "eff4fa93ca1db11b97b5fdedc0c488413e277eb8", "dependencies": { "@beyonk/svelte-googlemaps": "^2.2.0", + "fast-sort": "^2.2.0", "fusioncharts": "^3.15.1-sr.1", "svelte-fusioncharts": "^1.0.0" } diff --git a/packages/standard-components/src/DataTable.svelte b/packages/standard-components/src/DataTable.svelte index 9c9c256bb2..dc301598e8 100644 --- a/packages/standard-components/src/DataTable.svelte +++ b/packages/standard-components/src/DataTable.svelte @@ -1,6 +1,7 @@