Jump to content

User:Joseph A. Spadaro/Sandbox/Page76

From Wikipedia, the free encyclopedia


Academy Award Oldest Living Winner Date of Birth Current Age
Best Director Clint Eastwood Film: Unforgiven May 31, 1930 94 years old
Best Actor Sidney Poitier Film:Lilies of the Field[1] February 20, 1927 97 years old
Best Actress Olivia de Havilland Film: To Each His Own and The Heiress[2] July 1, 1916 108 years old
Best Supporting Actor Martin Landau Film: Ed Wood June 20, 1928 96 years old
Best Supporting Actress Eva Marie Saint Film: On the Waterfront[3] July 4, 1924 100 years old


Academy Award Oldest Living Nominee Date of Birth Current Age
Best Director Michael Anderson January 30, 1920 104 years old
Best Actor Kirk Douglas December 9, 1916 107 years old
Best Actress Olivia de Havilland July 1, 1916 108 years old
Best Supporting Actor Hal Holbrook February 17, 1925 99 years old
Best Supporting Actress Olivia de Havilland July 1, 1916 108 years old



Why is the last column not sorting correctly?

[edit]

In both tables below, why is the last column (on the right) not sorting correctly? The one that is entitled "Current Age". There does not seem to be any rhyme or reason to the sorting results. Also, does not the "age" template return a value that is a number (that should be easy for the computer to sort)? (And not a "string" where the number 100 is considered the characters "1" and "0" and "0".) Thanks. Joseph A. Spadaro (talk) 00:58, 4 May 2017 (UTC)

Academy Award Oldest Living Winner Date of Birth Current Age (Years)
Best Director Clint Eastwood 31 May 1930 94
Best Actor Sidney Poitier 20 February 1927 97
Best Actress Olivia de Havilland 1 July 1916 108
Best Supporting Actor Martin Landau 20 June 1928 96
Best Supporting Actress Eva Marie Saint 4 July 1924 100
Academy Award Oldest Living Nominee Date of Birth Current Age
Best Director Michael Anderson January 30, 1920 104 years old
Best Actor Kirk Douglas December 9, 1916 107 years old
Best Actress Olivia de Havilland July 1, 1916 108 years old
Best Supporting Actor Hal Holbrook February 17, 1925 99 years old
Best Supporting Actress Olivia de Havilland July 1, 1916 108 years old
  • Hello Joseph A. Spadaro. Your tables' second column was also not sorting. I've corrected the first table. You could make the same changes in the second. Thanks. Lourdes 01:10, 4 May 2017 (UTC)
Repinging. Lourdes 01:11, 4 May 2017 (UTC)
Thanks. But, you didn't really "fix" the last column. It used to say "years old" and I still want that "years old" in there (not deleted out). Why does it not work correctly? Also, what do you mean about the second column? The actor names? They sort just fine, no? Joseph A. Spadaro (talk) 01:12, 4 May 2017 (UTC)
I have fixed the last column in the second table by inserting data-sort-type="number" in the header cell. See Help:Sorting#Forcing a column to have a particular data type. I guess Lourdes was referring to people usually being sorted by surname. {{Sortname}} can help with that. PrimeHunter (talk) 01:24, 4 May 2017 (UTC)

My original charts

[edit]
Academy Award Oldest Living Winner Date of Birth Current Age
Best Director Clint Eastwood May 31, 1930 94 years old
Best Actor Sidney Poitier February 20, 1927 97 years old
Best Actress Olivia de Havilland July 1, 1916 108 years old
Best Supporting Actor Martin Landau June 20, 1928 96 years old
Best Supporting Actress Eva Marie Saint July 4, 1924 100 years old


Academy Award Oldest Living Nominee Date of Birth Current Age
Best Director Michael Anderson January 30, 1920 104 years old
Best Actor Kirk Douglas December 9, 1916 107 years old
Best Actress Olivia de Havilland July 1, 1916 108 years old
Best Supporting Actor Hal Holbrook February 17, 1925 99 years old
Best Supporting Actress Olivia de Havilland July 1, 1916 108 years old

Joseph A. Spadaro (talk) 01:20, 4 May 2017 (UTC)

Thanks, all! Joseph A. Spadaro (talk) 03:39, 5 May 2017 (UTC)