WaaX writes "Let say this table:CREATE TABLE dbo.Tasks ( taskId int NOT NULL, task char(10) NULL, priority int NULL, date_added datetime NULL ) ON [PRIMARY]
taskId is the ID, primarytask is the todo: eat, sleep, work..priority is 1 to 5date_added is when this task was added.I want to sort it by priority, highest first and by date_added oldest first.so if two task with the same priority, the oldest one will come first.Is this possible?"