Sales Order customization- separate lines for each size

Sales Order customization- separate lines for each size

Hell,
Is it possible to combine lines on a sales order based on the size of a product. For example, my product comes in four different sizes SM, MD, LG, XL. Each product is designated to a set size, but when i enter a sales order each size is generated on a separate line. Is there anyway to combine products by style and then sort by size on a sales order?

Example of how it looks now:

Style                           QTY 
STYLE1-SM                  3
STYLE1-MD                  4
STYLE1-LG                   4
STYLE1-XL                    3

Example of how i need it:

Style                              QTY
STYLE1                           14 
  SM   MD   LG  XL
   3       4     4    3