Powershell Select String Regex Capture Javascript Array Sort