Add sorting to child arrays in filterDoc
Encode uri before ajax call.
Updates for modals.
Fix uri encoding.
Merge pull request #249 from skrenek/master

URI encoding and filtering fixes.