<aside> <img src="https://s3-us-west-2.amazonaws.com/secure.notion-static.com/3754830f-032a-4f4f-9dd8-faced6228851/pro1.png" alt="https://s3-us-west-2.amazonaws.com/secure.notion-static.com/3754830f-032a-4f4f-9dd8-faced6228851/pro1.png" width="40px" /> This is a PRO feature. Upgrade now.
</aside>
<aside> <img src="https://s3-us-west-2.amazonaws.com/secure.notion-static.com/7bb10d49-e6e7-47a6-b7fc-11b3fdac5d20/home-icon-silhouette.png" alt="https://s3-us-west-2.amazonaws.com/secure.notion-static.com/7bb10d49-e6e7-47a6-b7fc-11b3fdac5d20/home-icon-silhouette.png" width="40px" /> Help homepage
</aside>
<aside> <img src="/icons/list_gray.svg" alt="/icons/list_gray.svg" width="40px" /> Page contents
</aside>
By default, the Notion API (how we connect to Notion) orders line items by ascending page creation time, i.e., the item you created first appears above the item you created second, even after reordering them in Notion.
PRO users can override this default ordering, by creating a Notion property for sorting.
Line items without sorting numbers will appear below items that do.
If you are using our latest Starter Template (after 25 August, 2023), then you can skip straight to 2. Edit the invoice template in Pop Invoice.
If you are using an older Starter Template or using your own custom invoice database, follow the setup below.
I have created one called “Sort order”, but you can name it anything you want.
![Untitled](<https://s3-us-west-2.amazonaws.com/secure.notion-static.com/5926c6b6-847c-4406-9d18-f5f33637ac82/Untitled.png>)
Click the down arrow next to the “New” button to reveal the templates, then click on the … dots to edit the Invoice Template.
![line items ordering.png](<https://s3-us-west-2.amazonaws.com/secure.notion-static.com/c5a594ac-8923-4675-a330-a81c24199a71/line_items_ordering.png>)
Click on the … dots next to the New button. Go into the Properties menu and make the sorting property visible (see the video below).
[sorting-1.mp4](<https://s3-us-west-2.amazonaws.com/secure.notion-static.com/7d59f4b2-e5c7-4ba0-ad0b-3002f0d3ba91/sorting-1.mp4>)