2 ms·You could pass the length and two functions for lessThan and swap.by skybrian 13y agoYou could pass the length and two functions for lessThan and swap.