sorting time changed to nanoseconds