Minor changes
New search function added as well as function for sorting results