ec64fd0477
This patch makes toIndex parameter exclusive in sortArrayWith method in order to make this method corresponding to the other ones (e.g. copyOfRange, Array.sortWith extension etc). It also improves the external sortBy test in order to use it with different sort algorithms.