fixed updated at sorting