aboutsummaryrefslogtreecommitdiff
path: root/src/cleaners/skyblock
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2022-07-01 17:27:51 -0500
committermat <github@matdoes.dev>2022-07-01 17:27:51 -0500
commit55a62be03612553160779d87ea55dce05fc57e8e (patch)
tree094858759f0e133014c7ca67ff7f0e9213bb5b7d /src/cleaners/skyblock
parent631e6fe3717b0364da88c2f8ab0b23da7a4559e2 (diff)
downloadskyblock-api-55a62be03612553160779d87ea55dce05fc57e8e.tar.gz
skyblock-api-55a62be03612553160779d87ea55dce05fc57e8e.tar.bz2
skyblock-api-55a62be03612553160779d87ea55dce05fc57e8e.zip
Revert "Fix sorting"
This reverts commit b4a1f93bbc6479982b0d16437af0f29e0a924c8d.
Diffstat (limited to 'src/cleaners/skyblock')
-rw-r--r--src/cleaners/skyblock/auctions.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cleaners/skyblock/auctions.ts b/src/cleaners/skyblock/auctions.ts
index f48d422..83b77a8 100644
--- a/src/cleaners/skyblock/auctions.ts
+++ b/src/cleaners/skyblock/auctions.ts
@@ -25,7 +25,7 @@ export async function cleanAuctions(data: typedHypixelApi.SkyBlockRequestAuction
const auctions = await Promise.all(auctionPromises)
// sort by newer first
- auctions.sort((a, b) => a.creationTimestamp - b.creationTimestamp)
+ auctions.sort((a, b) => b.creationTimestamp - a.creationTimestamp)
return auctions