javascript sort an object javascript sort an object by key 22 Javascript Sort An Object Given an array of objects and the task is to sort the array elements by 2 fields of the object. There are two methods to so… Written By Kathleen D. Walker Wednesday, November 17, 2021 Add Comment Edit