Array.sort() is not working in chrome it's working in IE,Fire Fox..etc.

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36
Steps to reproduce the problem:
1. sort an array of objects multiple times
2. need sort in three conditions (1)Accending order (2) Descending order and finally (3)both are equal
3.
What is the expected behavior?
What went wrong?
It's giving an irrespective order in chrome only. In a remaining browser, it's working fine.
Did this work before? N/A
Chrome version: 58.0.3029.110 Channel: stable
OS Version: 10.0
Flash Version: