Sort Array By String Property Javascript Interview