Bigquery Array Sort Python Method Chaining Javascript