all: reorganize comments and unpack order class to metadata_compare.py