let's go over some database basics. each record in the database will have a unique number as well as a date/time. these two fields have no relation to each other. the order in which they were put into the database does not matter either. you don't need to worry about the sequence of the auto_incrementing primary key field, it's just an integer. let's say this is our data structure:
jobs
job_id (int)
datetime (datetime)
description (text)
let's say we insert a new record:
INSERT INTO jobs SET datetime = '2004-07-26 10:00:00', description = 'cleaning out closet'
now let's do another record:
INSERT INTO jobs SET datetime = '2003-06-03 08:30:00', description = 'learn spanish'
the first job will have the job_id "1" and the next one would have job_id "2" even though the date of 2 is before 1. again, it doesn't matter. mySQL (and all other databases) have many functions that allow you very precisely select the data you want. let's say you want to pull all jobs in 2002:
SELECT * FROM jobs WHERE YEAR(datetime) = '2002'
lets say you want to grab just the first 3 jobs from June 1998:
SELECT * FROM jobs WHERE MONTH(datetime) = '06' AND YEAR(datetime) = '1998' ORDER BY datetime LIMIT 3
make sense? don't worry about the order they are in the db, you can re-order them any way you want with your SELECT query.