asort: handle !HAVE_NESTED_FUNCTIONS