ENH add an introsort implementation