+0
Break the data into several smaller groups [based on/by] type.

Which is correct?

Thanks in advance!
Comments 
Both OK, IMO.

"based on" seems a bit more formal.
Thank you, Marius Hancu!