diff --git a/include/wawi_bestelldetail.class.php b/include/wawi_bestelldetail.class.php index 5ba13f736..7a035b232 100644 --- a/include/wawi_bestelldetail.class.php +++ b/include/wawi_bestelldetail.class.php @@ -311,7 +311,7 @@ class wawi_bestelldetail extends basis_db OR artikelnummer like '%".addslashes($filter)."%' )"; } - $qry.=" ORDER BY position;"; + $qry.=" ORDER BY sort, position;"; if($this->db_query($qry)) {