Fixed orderBlend function