diff --git a/admin/adminVendors.php b/admin/adminVendors.php index 56046d9..6594cb4 100644 --- a/admin/adminVendors.php +++ b/admin/adminVendors.php @@ -48,7 +48,7 @@ if ($_REQUEST['sub']) } else { //get available vendors - $sQuery = "SELECT * from vendor;"; + $sQuery = "SELECT * FROM vendor ORDER BY vendorName, vendorId;"; $hResult = query_appdb($sQuery); if(!$hResult || !mysql_num_rows($hResult))