The macro automatically sorts the trash in the inventory, removing unnecessary items. It only works if you have access to the command. This is very useful when you are mining valuable ores or assembling structures from nezerite. Now you don't need to waste time on manual sorting, the macro will do it for you!