updated getReadingList function in index.php to order returned sql response by timestamp