Ability to change the order of roles in a fact type or provide a logical sort option such as alphabetic

I use the role type in many of my facts and they usually get added ad hoc as I discover a new role. For example with the census fact type I use the role to indicate the relationship to head of household. Over time that list has become quite long and due to the way the roles were ordered makes no sense - at the top I have the usual wife, daughter, son etc but other roles that it would be nice to group together such as mother in law, daughter in law, father in law are spread throughout the list.

It would be useful to be able to reorder the list by dragging them to the desired position, or at least be able to sort them alphabetically to making location easier.

1 Like

Have you tried renaming the roles, adding a numerical prefix? For example …

01 Father
02 Mother
03.1 Son
03.2 Daughter

and so forth, to see if that imposes a sort order?

Note: I haven’t tried this myself, so I don’t know for sure if it will work. I’m just speculating. So I’d recommend trying on a test version of your data before proceeding.

1 Like

This would be a nice enhancement. Hope Renee picks up on it.

I agree, this would be a great enhancement to the created roles.

1 Like

Agreed have order vs order by record ID of role.
Its big tricky – but it can be done by Sqlite.
I reordered basically by order of distance.

Confirming request has been reported to development.

1 Like

@KaitlinB I tried the suggestion by @KimberlyGreen and unfortunately that and a few other ideas I had did NOT work…
And yes Renee confirmed your request BUT you never know if that will be in a few months, years or?-- So unless you can use Sqlite –not recommended by RM or if you are not experienced in it, it appears you are going to have redo your roles in the fact list if there are no other suggestions.
1ST --would suggest you decide in what order you add them to the list-- alphabetical or by relationship to head —and think abt all the possibilities you might encounter as you can see Kevin’s list is quite long.
2nd --copy the fact sentence you already have in the RM fact and paste it
twice in notepad or word etc ( first one is so you always have a copy and 2nd one is to play with the sentence as you change it)–I’m pretty sure you have the same basic sentence for all–just changing the father/mother etc part.

Good news is that you don’t have to make as many roles as you can use a switch for any similar male / female roles such as father/mother or
son/ dau etc

A switch is like <%brother |sister |> – and once you figure out the sentence just change the left and right side for each pair of roles
This is one example of what a sentence looks like

[thisperson:cycle:casual] was enumerated as a <%brother |sister |>of< [Person]> in the 2 April 1871 United Kingdom Census <[PlaceDetails]> <[Place]

Sentence would read Kate was enumerated as a sister of Mel blah blah

Just entirely up to you as to what it says