Spontaneous rearrangements in RNA sequences