%! import BTEdb, time %> <% db = BTEdb.Database("/dev/shm/lainchan-scraper.json") dumped = db.Dump("table") dumped.sort(key = lambda x: x["time"]) %>