Add sort time restriction