donot raise error when sort empty db