User ordering of PUBs and SUBs

closes #41