Sorted app can detect the order number along with the email address / contact number provided by the customers while purchasing the item. The order numbers won't be recognized if the email or contact address are manually added to the orders.
To view the customer's order details:
From your Shopify admin, go to Orders.
Click the order number and the details of the order are displayed.