I stucked at somewhere while developing our system. I have 2 different datetime columns DateModified and DateCreated. I want to sort my data according to those 2 columns at the same time. Like;
Id Name DateCreated DateModified
--------------------------------------------------------
1 Ali 2015-01-01 2015-02-02
2 Veli 2015-01-02 2015-02-03
3 Mehmed 2015-02-01 2015-02-05
4 Ahmed 2015-02-04 null
When I want to make a descending order by for those data, it should give me the result of
3 Mehmed
4 Ahmed
2 Veli
1 Ali
So... What is the way of doing that? Thanks