Organization, export, and import of tilemaps

Hello everyone, does anyone know how to export tilesets like this (I’m using Aseprite)


instead of this?

When I export as a tileset, the organization is always chaotic, and when I export as a spritesheet and open a tilemap object in Gdevelop, I can only paint the first row of the tileset on my scene. Thanks!