# $orderPage->sortingNumber()

> Sorting number of the order: the time it was created, to the millisecond

- Source: `src/OrderPage.php#L212` <https://github.com/wagnerwagner/merx/blob/2.0.0-alpha.11/src/OrderPage.php#L212>

```php
$orderPage->sortingNumber(): int
```

## Return type

`int`

E.g. 20260923150808123

## Description

The order blueprint uses it as `num`, so the order folders sort in the order
the orders were created, and the default `orderNumber` can count on from
the last one. With seconds, two orders created in the same second would
sort by their random slug instead.

## Parent class

`Wagnerwagner\Merx\OrderPage`
