Copy to ClipboardRawPreviewitems = [1, 5, 4, 3]; const sortedArr = items.sort((a, b) => { return b - a; });Sort array desc01juli1My JavaScript recipesSort array in descending values0 CommentsAdd CommentLog in to add a comment