soring out row in model