fix sort time