So, I added a property on module level like useFixedTileCategories (or similary, must look it up):
If set to false, the IBMini system is used (auto generation of sorting buttons based on tile names found in tiles folder).
If set to true, only these seven sorting buttons appear:
All (shows all tiles from tiles fodlers of current and NewModule)
OnMap (shows only tiles already placed on the current area)
t_m (only man made things starting their .png filename with t_m_)
t_n (only natural thigns starting their .png filename with t_n_)
t_f (only floors starting their .png filename with t_f_)
t_w (only walls starting their .png filename with t_w_)
Rest (all .png in the tiles folders that do not begin with t_m_, t_n_, t_f_ or t_w_)
They all seem to work with the exception of OnMap which I still have to code.