Powershell Create Array Variable Javascript Array Sort By Property