             # TODO: For now, disallow this, as it requires some changes to the model to accomodate the whitespace in an empty list
             []
           else
-            nonNestedIxRanges = leftIxRanges.reverse().concat rightIxRanges
+            nonNestedIxRanges = leftIxRanges.concat rightIxRanges
             elementRanges = @getElementRangesFromNonNested bufferText, listStartIx, listEndIx, nonNestedIxRanges
             # @showIxRanges bufferText, elementRanges
 


      if (openingBracket? && (currentChar == @getClosingBracketFor openingBracket)) ||
         @isClosingBracket currentChar
        @addRange ranges, rangeStart, ix, isNested
        return {bracketIx: ix, ranges: ranges}

      if @isOpeningBracket currentChar
        @addRange ranges, rangeStart, ix, isNested
        res = @findMatchingClosingBracket bufferText, ix+1, true, currentChar
        break if not res?
        ix = res.bracketIx


      ix++

    return null # list not well formed, or no list)

  pushRange: (ranges, rangeStart, rangeEnd, isNested) ->
    ranges.push [rangeStart,rangeEnd] if not isNested && rangeStart != rangeEnd

  # Convert list of ranges that cover the entire list except its sublists, to ranges for its elements.
