Is there a way to control button position on AlertController?


On Android vs iOS, the position of the buttons in AlertController are not consistent across platforms. Rather than checking the platform each time, is there a way to fix the position of each?

My code is below. I want it to say “Delete” on top and then “Cancel” on bottom, and right now it only does it on Android if Cancel is first in the array, and on iOS is “Delete” is first.

    let newAlert = this.alertCtrl.create({
        title: title,
        message: (action === 'Delete' ? Constants.DELETE_WARNABLE_MESSAGE : Constants.CLOSE_WARNABLE_MESSAGE),
        buttons: [
                text: 'Cancel',
                role: 'cancel',
                handler: () => {
                    console.log('Cancel clicked');
                text: action + ' this Warnable',
                handler: () => {
                 this._notificationPrompt(warnable, action);