add sort logic for db stats to make output stable

all but PlayerInfo is now sorted