Updated changes to latest version of code.

Updated code to sort search options and zoom to selected features.