The trident isn't grouped together next to tools/weapons in the creative inventory tab. Despite it is considered a weapon, the trident is located far apart from the tools/weapons group such as the sword and the brand new mace. The best possible solution is to put it just before the mace.