---
test-name: flow-sequence-preserves-order
category: flow-style
---

# Test: Flow Sequence Preserves Item Order

The formatter preserves the order of items in a flow sequence.

## Test-Document

```yaml
nums: [3, 1, 4, 1, 5, 9]
```

## Expected-Document

```yaml
nums: [3, 1, 4, 1, 5, 9]
```
