# clanbite_profile_subpages_sort()

Sort subpages by position then label.

```php
clanbite_profile_subpages_sort( array $subpages ): array
```

## Parameters

- `$subpages` (array<string, array<string, mixed>>) Registry.

## Return

`array<string, array<string, mixed>>`
