mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2024-11-10 09:07:47 +01:00
Fix sort order
This commit is contained in:
parent
bbb7102e37
commit
9f7fa53b14
1 changed files with 1 additions and 1 deletions
|
@ -176,8 +176,8 @@ async function filterAndSortBranding(videoID: VideoID, dbTitles: TitleDBResult[]
|
||||||
.sort((a, b) => +b.locked - +a.locked) as TitleResult[];
|
.sort((a, b) => +b.locked - +a.locked) as TitleResult[];
|
||||||
|
|
||||||
const thumbnails = shuffleArray(dbThumbnails.filter(await shouldKeepThumbnails))
|
const thumbnails = shuffleArray(dbThumbnails.filter(await shouldKeepThumbnails))
|
||||||
.sort((a, b) => b.votes - a.votes)
|
|
||||||
.sort((a, b) => +a.original - +b.original)
|
.sort((a, b) => +a.original - +b.original)
|
||||||
|
.sort((a, b) => b.votes - a.votes)
|
||||||
.sort((a, b) => b.locked - a.locked)
|
.sort((a, b) => b.locked - a.locked)
|
||||||
.map((r) => ({
|
.map((r) => ({
|
||||||
timestamp: r.timestamp,
|
timestamp: r.timestamp,
|
||||||
|
|
Loading…
Reference in a new issue