Sanity check on tileset sorting.
Sanity check on tileset sorting.

Tilesets should be sorted by firstgid or things will break.
This should always be true, but double check this in debug mode.

rcorre/dtiled