store search keyword history, add ordering option