additional defrag option

How difficult would it be to add an optionto move files to the end of the drive based upon their last accessed or last changed date? That would put the files that should need defragged only once (i.e. system files, etc) in one place at the end, and those that get changed repeatedly, (I.E. used often) in one place at the beginning.

Richard