Bigquery Array Sort Python Method Chaining Java