fix broken order of metadata columns in tooltip