Ball of wax

What’s the origin of “that’s a whole other ball of way” or “that’s another ball of wax”? What does it mean?

WRS

Um, that should be “that’s a whole other ball of wax”.

WRS

“The whole ball of wax” means the whole thing, everything wrapped up.

There are a number of theories out there as to origin. Word Detective says the jury’s still out, while there is a possibility here: