Sort Array Javascript Object Properties