PP: Some cleanup and comments, made filter work on title and description, sort works on both active and inactive forms (so sort is maintained when filtering).