swap end and start time if end < start