sort()

in src/main/js/client/history-client.js [19:29]


    sort(array) {
        return array.sort(function (a, b) {
            if (a.timestamp < b.timestamp) {
                return 1;
            }
            if (a.timestamp > b.timestamp) {
                return -1;
            }
            return 0;
        })
    }