minor changes to keyword searching and sorting

This will probably be the last minor update