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