configurable swapping ranges, fixes #62
Merge pull request #62 from quarterto/feature/configurable-swap

Range swapping behaviour should be configurable