Powershell Create Array Variable Javascript Array Sort