Why is the mac package organised by file type

I was curious as to why inside a database folder all my files are organised in folders by there kind or file type

It’s part of the internal workings on DEVONthink.

DO NOT mess about in there.

Yes, I won’t mess with it. Is there an explanation of why the program does it like that?

It’s just part of the internal AI structure, but that information is not publicly available. Sorry.

The structure of the package needs subfolders to improve the performance of the filesystem, filetypes are more useful (at least for debugging) than random numbers.