I\'m using SQLite in an Android application.
In all of my tables I have a default row with an index of 0 that holds default values for that table.
In most situations
order by decode(epoch_date.epoch,0,null,epoch_date.epoch)
you can use something like this..since nulls are kept in the end in case of ascending order.
provided you have decode function available in sqlite..or else you can just use a case statement instead.