Hi

Want to sort an array based on another array just like Excel's custom sorting. Something like...

Code:
Function SortArray(ByVal SortedArray As Variant, ByVal Array2Sort As Variant) As Variant    
    
End Function

I wrote a function which does the trick, but looking for solutions from the experts

Kris