From ea3630e018e368d2776d8fe62f383fa756ba7aba Mon Sep 17 00:00:00 2001 From: n1474335 Date: Thu, 1 Jun 2017 10:21:10 +0000 Subject: [PATCH] Tidied _numericSort and added @author tag --- src/core/operations/SeqUtils.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/core/operations/SeqUtils.js b/src/core/operations/SeqUtils.js index 351b0afe..70207e00 100755 --- a/src/core/operations/SeqUtils.js +++ b/src/core/operations/SeqUtils.js @@ -223,9 +223,11 @@ const SeqUtils = { return a_ - b_; }, + /** * Comparison operation for sorting of numeric values. * + * @author Chris van Marle * @private * @param {string} a * @param {string} b @@ -235,7 +237,7 @@ const SeqUtils = { let a_ = a.split(/([^\d]+)/), b_ = b.split(/([^\d]+)/); - for (let i=0; i