Power Automate Sort Array Leetcode Problems Javascript