It sounds like you have a one-to-many scenario where a record identified by 'order number' has many child records.
You're looking in the right place: under sorting and grouping, you need to add the 'order number' field (you've probably got this already), and then you need to set 'Group Header'...