throws Throwable
  public boolean asort(Env env, ArrayValue array,                       @Optional long sortFlag)    throws Throwable  {    if (array == null)      return false;    switch ((int) sortFlag) {    case SORT_STRING:      array.sort(CS_VALUE_NORMAL, NO_KEY_RESET, NOT_STRICT);      break;    case SORT_NUMERIC:      array.sort(CN_VALUE_NORMAL, NO_KEY_RESET, NOT_STRICT);      break;    case SORT_LOCALE_STRING:      Locale locale = env.getLocaleInfo().getCollate();      array.sort(new CompareLocale(ArrayValue.GET_VALUE, SORT_NORMAL,                                   Collator.getInstance(locale)),                 NO_KEY_RESET, NOT_STRICT);      break;    default:      array.sort(CNO_VALUE_NORMAL, NO_KEY_RESET, NOT_STRICT);      break;    }    return true;  }