diff --git a/guestbook/index.php b/guestbook/index.php
index c1f0760..1bd827d 100755
--- a/guestbook/index.php
+++ b/guestbook/index.php
@@ -1,4 +1,4 @@
-
+
@@ -24,23 +24,7 @@
@@ -53,7 +37,7 @@
$count = $count_query->fetch()[0];
echo 'Entries (' . $count . ' total)
';
// Prepare SELECT statement.
- $select = "SELECT name, message, show_info, show_ip, ip, submitted, browser_info FROM Entries ORDER BY id DESC";
+ $select = "SELECT name, message, show_info, show_ip, ip, submitted, browser_info FROM Entries ORDER BY submitted DESC";
$stmt = $db->prepare($select);
// Execute statement.