Jump to content
TNG Community
Sign in to follow this  

Modified Surname Statistics for sorting alpha and by longest average

Recommended Posts


I have modified the "Surnames Statistics"page (originally created by Graham Chamberlain / Jeff Robison   wiki=  http://tng.lythgoes.net/wiki/index.php?title=Surname_Statistics)

To have some alternative sorting displays.

One is sorted Alphabetically and works great.

But I also want to have  the Average Lifespan results column sorted (DESC) but cant figure out what is needed to accomplish that.

You can view the current page(s) at my test site


Use login=  Visitor

and pw=   GuestVisitor


The Branch Version also works well, however I do not know how to change the "Total Indiviuals' Count that appears in the column header to be just the total of persons in the branch and not the total of ALL persons.  (the "VisitorI144" Branch contains 13,583 persons)

(Also testing an expanded version of "My Page" called "My Branch" which can be viewed at the link on the inner menu.  Questions/comments on that will be in separate posting here)

Thanks in advance for any help you can provide on the sorting of longest average lifespan.




Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this