Restored MooTools 1.12 fix
Implemented fallback to handle same sort values