modified sort order
fixed action sheet crash