Unity Array Sort Js Mdn Promises