Rosetta Code:Village Pump/Sort popular pump pages: Difference between revisions

no edit summary
No edit summary
Line 55:
edits.append(Page(i,GetTimeStamp(x)))
 
from operator import attrgetter
edits = sorted(edits, key=lambda x: x.attrgetter('time'), reverse=True)
 
final = """This is the new place for Rosetta Code community activity. To start a new "thread", just append a "/" to the end of the URL of this page and give your thread a short title. On the new page, give a more detailed description of the topic as a heading, and write away. Also, link to the new topic on this page. Ex: <nowiki>{{vp|New topic}}</nowiki>.
Anonymous user