Add free sort functions for ImArray.
Merge pull request #41 from josephlord/arraySorting

Add free sort functions for ImArray.