Organising functions alphabetically

I was just wondering if functions were organised in any way because I have so many that it’s getting difficult to find the right ones due to the lack of alphabetical organisation
(the ones without parameters are especially difficult to find)

7 Likes

I think they’re organised in order of creation(?)

3 Likes

Yes please @richard this would be really nice

2 Likes

I think they are organized the order you make them…
This only applies to variables.

1 Like

So from what I know, functions are sorted by the time they’re created. Once you save and leave your game then open it again, they become sorted alphabetically!

Let me know if I’m wrong though, hopefully it works :pray:

2 Likes

Functions are not sorted by order of creation
@RedSprite @Reznolv


I made this function last week ^
it’s like 16th for some reason when it should be right at the bottom
and yes i’ve opened and closed this project several times since last week

1 Like

I meant whichever functions you create in the same session will be sorted by creation order.

But you’re right, after leaving and rejoining it seems the order is alphabetical but reversed and split in two?

Original order (by creation)

Original order (by creation)3. 4.

New order (after leaving and coming back)

new order (after leaving and reopening)

Let’s hope someone else has an answer / solution to this. I’ll keep tinkering in the meantime.

Edit: I got it.

  • While in the same session, functions are sorted by creation time.
  • Once you leave and return, they become sorted by alphabetical order.
  • IF you had previous functions before that, it will be first sorted to groups by creation order (oldest to newest) then each group will be sorted by alphabetical order!
Here are some screenshots to better display it
  1. Creating functions (sorted by creation time)
    Creating functions
  2. Leaving and coming back (sorted alphabetically)
    After leaving and coming back
  3. Creating more functions (old order + order of creation for newer functions)
    Creating more functions
  4. Leaving and coming back again (first created functions are sorted alphabetically first THEN newer functions are sorted alphabetically separately)
    After leaving and coming back again

Now this helps us understand how it’s sorted. I don’t know if there’s a way to sort them differently sadly (Besides literally re-creating each function every session).

3 Likes

this behavior annoys me too. can someone create an issue for it so we track it?

7 Likes

My experience is that, when you close and then reopen a project, the functions re-sort alphabetically. They just don’t do it on the fly like the Variables drawer does.

Regardless, feature request made. :smile:

5 Likes

Thank you! I also like to copy existing functions and rename them so that might break the order as well

2 Likes