I want to "naturally" sort skus in admin panel ("grid"?) and I found this code: https://magento.stackexchange.com/a/124324/51693 which would be exactly what I need, but I don't know where to call this class or how to implement it. If someone could, at least, point me in the right direction, that would me much appreciated.
To add any default sorting for the Magento admin Grid. We just need to add below line in the
prepareCollection method of that Grid.php
$this->setDefaultSort('sku'); /*whatever column you need as default sort you can use*/