Sort Array By Object Key Value Javascript