I am using Protractor-Cucumber Framework. I need to compare two arrays when checking the sorting scenario. I have used below code for that comparison.
expect(