diff -r 710e5382dbe6 src/org/openbravo/warehouse/pickinglist/Utilities.java
--- a/src/org/openbravo/warehouse/pickinglist/Utilities.java	Wed Dec 09 10:17:26 2015 +0100
+++ b/src/org/openbravo/warehouse/pickinglist/Utilities.java	Wed Mar 23 10:57:27 2016 +0100
@@ -139,6 +139,7 @@
     hqlString.append(" select e.id ");
     hqlString.append(" from OrderLine as e");
     hqlString.append(" where e.salesOrder.id = :order");
+    hqlString.append(" order by e.lineNo");
     Query query = OBDal.getInstance().getSession().createQuery(hqlString.toString());
     query.setParameter("order", order.getId());
     List<String> orderLineIds = query.list();
@@ -777,4 +778,4 @@
     return qry.uniqueResult() != null;
   }
 
-}
\ No newline at end of file
+}
