Minor changes to code style and highlight length
Added rule that makes .code code elements have full width.
Added functon stringToRange which eliminates the need for polymorphic version of sortRangeAsc.
Fixed minor style issues and variable declaration.
Tweaked the way ranges are handled and added to rangesArray for better performance.