#Dataset Make "image" column appear first in dataset preview UI
MEMBER
Hi ! It should follow the same order as the order of the keys in the metadata file
2025-06-19T13:42:55Z
https://github.com/huggingface/datasets/issues/7624#issuecomment-2988156316
https://api.github.com/repos/huggingface/datasets/issues/7624
IC_kwDODunzps6yG6Wc
https://api.github.com/repos/huggingface/datasets/issues/comments/2988156316/reactions
2025-06-19T13:42:55Z
https://api.github.com/repos/huggingface/datasets/issues/comments/2988156316
https://avatars.githubusercontent.com/u/42851186?v=4
https://api.github.com/users/lhoestq/events{/privacy}
https://api.github.com/users/lhoestq/followers
https://api.github.com/users/lhoestq/following{/other_user}
https://api.github.com/users/lhoestq/gists{/gist_id}
https://github.com/lhoestq
lhoestq
MDQ6VXNlcjQyODUxMTg2
https://api.github.com/users/lhoestq/orgs
https://api.github.com/users/lhoestq/received_events
https://api.github.com/users/lhoestq/repos
https://api.github.com/users/lhoestq/starred{/owner}{/repo}
https://api.github.com/users/lhoestq/subscriptions
User
https://api.github.com/users/lhoestq
public
NONE
Hi! Thank you for your answer. 

As you said it, I I forced every key in every JSON to have an order using `collections. OrderedDict` in Python. Now, it works!

TY
2025-06-20T07:46:43Z
https://github.com/huggingface/datasets/issues/7624#issuecomment-2990157782
https://api.github.com/repos/huggingface/datasets/issues/7624
IC_kwDODunzps6yOi_W
https://api.github.com/repos/huggingface/datasets/issues/comments/2990157782/reactions
2025-06-20T07:46:43Z
https://api.github.com/repos/huggingface/datasets/issues/comments/2990157782
https://avatars.githubusercontent.com/u/98875217?v=4
https://api.github.com/users/jcerveto/events{/privacy}
https://api.github.com/users/jcerveto/followers
https://api.github.com/users/jcerveto/following{/other_user}
https://api.github.com/users/jcerveto/gists{/gist_id}
https://github.com/jcerveto
jcerveto
U_kgDOBeS3UQ
https://api.github.com/users/jcerveto/orgs
https://api.github.com/users/jcerveto/received_events
https://api.github.com/users/jcerveto/repos
https://api.github.com/users/jcerveto/starred{/owner}{/repo}
https://api.github.com/users/jcerveto/subscriptions
User
https://api.github.com/users/jcerveto
public
Hi!

#Dataset

I’m currently uploading a dataset that includes an `"image"` column (PNG files), along with some metadata columns. The dataset is loaded from a .jsonl file. My goal is to have the "image" column appear as the first column in the dataset card preview UI on the :hugs: Hub.

However, at the moment, the `"image"` column is not the first—in fact, it appears last, which is not ideal for the presentation I’d like to achieve.

I have a couple of questions:

Is there a way to force the dataset card to display the `"image"` column first?
Is there currently any way to control or influence the column order in the dataset preview UI?
Does the order of keys in the .jsonl file or the features argument affect the display order?
Thanks again for your time and help! :blush: