Fixed orderBy test