Add sorting options to main page.  Fix problems with article having a " or '.