Type | Bug | Status | reviewed | Date | 13-Jul-2009 18:25 |
---|---|---|---|---|---|
Version | alpha 70 | Category | Native | Submitted by | BrianH |
Platform | All | Severity | minor | Priority | normal |
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 to | n/a | Fixed in | - | Last Update | 31-Jan-2011 14:19 |
---|
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 | - |