fix bug that cannot sort 'today's' correctly in gallary and video