Skip to content

Commit

Permalink
fix: sort file list
Browse files Browse the repository at this point in the history
  • Loading branch information
darlanalves authored May 13, 2024
1 parent 71140bd commit 2d766e1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@

rows.innerHTML = "";

fileList.sort((a, b) => (a.meta?.name > b.meta?.name ? 1 : -1));
fileList.forEach((fileId) => addFileToList(binId, fileId));
}

Expand Down

0 comments on commit 2d766e1

Please sign in to comment.