diff --git a/stock.xml b/stock.xml
index 78c66090ae..5c144b389a 100644
--- a/stock.xml
+++ b/stock.xml
@@ -51,7 +51,8 @@ this repository contains the full copyright notices and license terms. -->
Moves
stock.move
- [('lot', 'in', Eval('active_ids'))]
+
[('effective_date', 'DESC'), ('planned_date', 'DESC')]
-
+