search from database and sort by dealer error fixed