Don't use string.format for the simple case of string concatenation
Don't use array in-place sort
Use unpacking to make last_read_date more idiomatic
Simplify confirm delete page
Rename local variable to conform with rest of code