What is reorderArray replacement in IONIC 4?

I am trying to upgrade ionic 3 project to ionic 4 and there is reorderArray but it cannot be imported by ionic 4 libs so what is the fix for this ?

thanks .