Allows custom array sorting. Fixes tessel/beta#440
Merge pull request #94 from tessel/tcr-440

Allows custom array sorting. Fixes tessel/beta#440