### Is there an existing issue for this?

- [X] I have searched the existing issues

### Current Behavior

When I fetch execution history via command below, it always returns history events in ascending order.

`awslocal stepfunctions --region eu-west-1 get-execution-history  --reverse-order --execution-arn <execution-arn> `

I also tried with 

``awslocal stepfunctions --region eu-west-1 get-execution-history  --no-reverse-order --execution-arn <execution-arn> `

it returned the same results, which proves again that `--reverse-order` didn't take effect.

I also tried with `GetExecutionHistoryCommand` from `@aws-sdk/client-sfn`, it's the same results that reverse order didn't take effect.

it seems that `PROVIDER_OVERRIDE_STEPFUNCTIONS=v2` will cause this issue, and it's set to be v2 by default in localstack v3. but if I set it back to `PROVIDER_OVERRIDE_STEPFUNCTIONS=legacy` and use loacalstack v2, then this problem won't appear anymore.

### Expected Behavior

when `--reverse-order` is provided. Execution history is returned in descending order. Also, command sent from sdk should see the same results.

### How are you starting LocalStack?

With a docker-compose file

### Steps To Reproduce

#### How are you starting localstack (e.g., `bin/localstack` command, arguments, or `docker-compose.yml`)

    docker compose -f docker-compose.yml up -d

#### Client commands (e.g., AWS SDK code snippet, or sequence of "awslocal" commands)

    awslocal stepfunctions --region eu-west-1 get-execution-history  --reverse-order --execution-arn <execution-arn> 


### Environment

```markdown
- OS: macOS 14.1.1
- LocalStack: I tried both v3.0 and v3.0.2, neither of them worked. But v2.1 worked.
```


### Anything else?

_No response_
"RoleArn": snf_role_arn,
                    },
                }
            }
        }
        cloudformation_template = encoder_function(cloudformation_template)
        aws_client.cloudformation.create_stack(
            StackName=stack_name,
            TemplateBody=cloudformation_template,
        )
        aws_client.cloudformation.get_waiter("stack_create_complete").wait(StackName=stack_name)
        list_state_machines_response = aws_client.stepfunctions.list_state_machines()
        state_machine = next(
            (
                sm
                for sm in list_state_machines_response["stateMachines"]
                if sm["name"] == state_machine_name
            ),
            None,
        )
        state_machine_arn = state_machine["stateMachineArn"]
        sfn_snapshot.add_transformer(RegexTransformer(state_machine_arn, "state_machine_arn"))
        describe_state_machine_response = aws_client.stepfunctions.describe_state_machine(
            stateMachineArn=state_machine_arn
        )
        sfn_snapshot.match("describe_state_machine_response", describe_state_machine_response)
        aws_client.cloudformation.delete_stack(StackName=stack_name)
        aws_client.cloudformation.get_waiter("stack_delete_complete").wait(StackName=stack_name)
        aws_client.stepfunctions.delete_state_machine(stateMachineArn=state_machine_arn)