pep8
newdb: Fix tweak to sort dates by visible fields not being respected