Sort Array Of Objects Javascript Based Projects