In case it wasn't obvious, it would be over-complicating things to create a virtual tag that 'truncates' the (milli)seconds from the modified date.
Just create a tag that turns the date into a numeric value which can always be sorted chronologically.
i.e.
$Date(<Date Modified>,yyyyMMdd)