BF - use different sort method to avoid mergsort for older numpy.
Merge pull request #507 from MrBago/bf_numpy_mergesort

BF - use different sort method to avoid mergsort for older numpy.