That was exciting to track down.  If your supplied sort.compareFunction(...) returns a value other than -1, 0 or 1, Sort.findItem() goes into an infinite loop.  Guard against that here. 
That was exciting to track down.  If your supplied sort.compareFunction(...) returns a value other
than -1, 0 or 1, Sort.findItem() goes into an infinite loop.  Guard against that here. 


git-svn-id: b675b909355d5cf946977f44a8ec5a6ceb3782e4@487 ed5b42cb-e716-0410-a449-f6a68f950b19

threerings/nenya,threerings/nenya