add sort object function in utils and first try of search engine