Yes, if using methods such as iCloud Backup or iTunes Backup and Restore, your texts will be organized in the same way as they were on your old iPhone. If using iMessage forwarding or other methods, data may be organized differently.