Hello all

Hello all,
Merry Christmas,
Does anyone know of any array sort method similar to this for Delphi (with the two array parameters, key and value with a comparer method).
Regards.
https://msdn.microsoft.com/en-us/library/2b9cyk6x(v=vs.110).aspx

Comments

  1. Here's a naive implementation I whipped up. Didn't focus on performance, but shouldn't be too bad.

    Can easily be extended to handle more auxiliary arrays to be sorted based on the key array.
    gist.github.com - Paired sort example

    ReplyDelete
  2. Asbjørn Heid , thanks a lot sir,
    You just made my day.. :)

    ReplyDelete

Post a Comment