New plugin: Sort on Canvas by Name

I was recently searching for a plugin that would order objects in Figma by name, however all I could find was plugins that sort layers, and not move the actual objects around. So I had to write my own plugin, and here it is: it simply sorts layers on canvas by their name. Left to right, top to bottom.

Install, like, share:

This is useful for making presentations, ordering icon sets and keeping your Figma files organized in general. If all selected objects belong to one parent element, the plugin will also sort them in the layers panel like countless other plugins do.

How to use

  • Select layers you want to sort. Preferably they should belong to one parent but anything will work. Run the plugin, it will sort your layers.
  • You can also select nothing, in this case plugin will automatically find all frames (only frames) on the page and sort them.

Have feedback or something is wrong? Feel free to reply here!

5 Likes

Brilliant idea and very useful - thank you! I’ve noticed it doesn’t work if items are inside a frame with auto-layout switched on though - even if I change to ‘first on top’

Good catch! Indeed AL uses a different method of positioning elements. I’ll fix that.

Thanks very much for this!