Order search functions

Signed-off-by: Zlatozar Zhelyazkov <zlatozar@gmail.com>