REBOL3 tracker
  0.9.12 beta
Ticket #0001100 User: anonymous

Project:



rss
TypeBug Statusreviewed Date13-Jul-2009 18:25
Versionalpha 70 CategoryNative Submitted byBrianH
PlatformAll Severityminor Prioritynormal

Summary SORT ignores /compare for any-string! and binary!
Description In alpha 55 the SORT /compare option was fixed for any-block! types (#161), but not yet for any-string! or binary! (see #1101 for vector!).
Example code
>> sort/compare "abczyx" func [a b] [a > b]
== "abcxyz"  ; should be "zyxcba"
>> sort/compare %54321 func [a b] [a > b]
== %12345  ; should be %54321
>> sort/compare #{000102030405} func [a b] [a > b]
== #{000102030405}  ; should be #{050403020100}

Assigned ton/a Fixed in- Last Update31-Jan-2011 14:19


Comments

Date User Field Action Change
31-Jan-2011 14:19 BrianH Code Modified -
13-Jul-2009 18:40 BrianH Description Modified -
13-Jul-2009 18:40 BrianH Status Modified submitted => reviewed
13-Jul-2009 18:36 BrianH Code Modified -
13-Jul-2009 18:36 BrianH Summary Modified SORT ignores /compare for any-string! => SORT ignores /compare for any-string! and binary!
13-Jul-2009 18:36 BrianH Code Modified -
13-Jul-2009 18:25 BrianH Ticket Added -