@barchart/portfolio-api-common 1.2.34 → 1.2.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -273,7 +273,7 @@ module.exports = (() => {
|
|
|
273
273
|
}).thenBy((a, b) => {
|
|
274
274
|
return comparators.compareStrings(a.instrument.id, b.instrument.id);
|
|
275
275
|
}).thenBy((a, b) => {
|
|
276
|
-
return comparators.compareNumbers(
|
|
276
|
+
return comparators.compareNumbers(b.sequence, a.sequence);
|
|
277
277
|
}).toComparator();
|
|
278
278
|
|
|
279
279
|
return TransactionFormatter;
|
package/package.json
CHANGED
package/test/SpecRunner.js
CHANGED