I have a question about sort a list by multiple fields. I have a bunch of entries of persons’ bios. Each bio entry has a set of fields associated, such as birth year, death year, birth date, tenure length etc.
I want to create a list with some of those persons and sort it by multiple fields, such as first by tenure length, if same tenure, then sort by birth year, then death year etc.
This gives me a list that allows me to filter all incumbents but the list can only be sorted by rank. I want to add multiple fields (e.g. V1, V2, V3) behind the rank sort but it doesn’t work. I’d appreciate it if any one could share their insights on this.
And the layout is a list of sorted entries with field values crudely attached at the beginning and the end of each line. Basically I wonder if I can separate those values into different cells.
Thanks for the help! I tried to copy your code, but it gives a syntax error notice. All my fields used for sorting are numerical values, do I still need to treat them as string in the code? (e.g. 1960.02 for birth_year, 50 for rank)
Neither code seems to work and I’m having some difficulty in reading through the SFRP document. Would anyone mind helping me to look more into this? Many thanks!