Sort segments by start time