View Single Post
08-25-10, 03:43 AM   #17
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,327
Originally Posted by Saiket View Post
IIRC, it should work alright as long as your sort function always returns consistent results for the same two elements to test, and test(a,b) is always the inverse of test(b,a).
Be my guest to look through the latest code I proposed and try to fix it.

From what understanding I make out of that, the sort function doesn't like being told not to swap values for the reason both values are equal?
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)

Last edited by SDPhantom : 08-25-10 at 03:49 AM.
  Reply With Quote