Javascript Copy And Sort Array Leetcode Problems Html Code