While importing the attribute set, it can be seen that after the import the attribute group sort order is not taken into consideration, kindly investigate
Sample data can be used
Magento Version: 2.4.1 / 2.4
name : techdivision/import-cli-simple
descrip. : CLI providing single-threaded Magento 2 importing functionality based on Pacemaker
keywords :
versions : * 3.8.33
type : library
license : Open Software License 3.0 (OSL-3.0) (OSI approved) https://spdx.org/licenses/OSL-3.0.html#licenseText
names : techdivision/import-cli-simple