Added sort capabilities to Search.