Skip to main content
rzmota
Apr 21, 2021 11:47 AM UTC

Sort variants alphabetically (ascending/descending)

Hi,

Is there any option to automatically sort the items/components in the variants menu? Seems like I can drag them and drop but while having lots of elements it’s quite hard to keep things in the correct order.

I know there are plugins to sort items in the layers menu (like SortIt) but would be great if there is an option to make the same (A->Z, Z->A) for the variants.

It will make life easier.

Kapture 2021-04-21 at 13.42.37

49 replies

sebastien.giroux
Active Member
Apr 21, 2021 3:20 PM UTC

An idea, could you sort the instances (layers) BEFORE merging them as variants?

Jiri_Sindelar
Aug 26, 2021 11:38 AM UTC

What if you are adding variants as you need them? You can’t break the component and make it again.

Felipe_Moscon
Sep 20, 2021 1:26 PM UTC

@rzmota
i’m also seriously in need of this feature at the moment. have a ton of variants in several components and would like to keep them organised and listed alphabetically for easier selection when designing the screens. come on, Figma team! you can do it. 😉

Jonathan_Slavuter
New Participant
Nov 2, 2021 3:09 PM UTC

I also have a very large list of variants for one of my components and would love it if Figma would auto-sort them in ascending alphabetical order.

micah_david.mn
Nov 4, 2021 1:41 AM UTC

It seems that Figma does not have any intuitive (and more importantly native) function to sort components by title, ascending or descending. The only option I foresee is ordering the components before they are combined as variants as @sebastien.giroux eluded to.

Oooooh (😲) Figma: we need this feature!

PRO1
Nov 4, 2021 10:44 AM UTC

+1
It would be helpfull to sort our variants

Sabrina_Huppertz
Nov 12, 2021 8:01 AM UTC

I’d also like to have this feature since sorting Icons is very troublesome when having to do it manually.

tank666
Nov 12, 2021 8:35 AM UTC

Hey all, I changed the topic category so that you can vote for it.

UX/UI designer. Figma expert. Creator and developer of plugins and widgets for Figma and FigJam. Check out my resources in Figma Community: figma.com/@tank
Ilya_Ivanov
Nov 15, 2021 11:51 AM UTC

Same case, 2 hundred icons. Sorting before merging won’t work since the component is already a part of the team library and has tons of references across the projects. + The set is not static, people add new items and remove outdated ones.

It would be nice to have a choice of a key property synced with the order of the variant layers. There are plenty of ways to sort layers (manually & via plugins), so it might be rather flexible.

Luca_Vitiello
Nov 18, 2021 11:06 AM UTC

Same here. A lot of Icons and we add new ones every now and then. It takes ages to find them as they are not sorted alphabetically. When you try to filter them by start typing the name of the variants it stops after entering “_”