There is no sort by "PublishedBy" option - see https://github.com/hpcc-systems/HPCC-Platform/blob/master/esp/services/ws_workunits/ws_workunitsQuerySets.cpp#L1200

The default is (I think) by QuerySetID so the first one is ok...