From e86c3724f28bce23bd4e36c2d82d5abf893a8be0 Mon Sep 17 00:00:00 2001 From: Marcel Date: Fri, 22 Dec 2017 13:46:11 +0100 Subject: [PATCH] added sorting of lapdata --- js/processor.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/processor.js b/js/processor.js index 73b1abb..42e665e 100644 --- a/js/processor.js +++ b/js/processor.js @@ -55,6 +55,7 @@ var processor = { } }); }); + lapData.laps.sort((o1,o2) => o1["lap"] - o2["lap"]); result.push(lapData); }); return result;