diff -r 4b829f689d7e -r 9362eb9e9e5b www/includes/db_inventory_hops.php --- a/www/includes/db_inventory_hops.php Sat Aug 25 11:40:31 2018 +0200 +++ b/www/includes/db_inventory_hops.php Sat Aug 25 13:07:13 2018 +0200 @@ -11,7 +11,7 @@ } // get data and store in a json array -$query = "SELECT * FROM inventory_hops"; +$query = "SELECT * FROM inventory_hops ORDER BY origin,name"; if (isset($_GET['insert'])) { // INSERT COMMAND $sql = "INSERT INTO `inventory_hops` SET name='" . mysqli_real_escape_string($connect, $_GET['name']);