Sorting resets duration color