You can rearrange the order in which your custom fields appear when creating a matter or a contact.
Please watch this video or follow the steps below:
1) Go to your settings.
2) Select "Custom Fields".
3) Drag and drop the custom fields in the desired order.