| Package | org.juicekit.util.collection |
| Class | public final class AlphanumSort |
| Inheritance | AlphanumSort mx.collections.Sort |
"The Alphanum Algorithm sorts strings containing a mix of letters and numbers. Given strings of mixed characters and numbers, it sorts the numbers in value order, while sorting the non-numbers in ASCII order. The end result is a natural sorting order."
| Method | Defined by | ||
|---|---|---|---|
|
Constructor.
| AlphanumSort | ||
|
alphanumCompare(left:Object, right:Object):int
[static]
Public function intended to be used directly by sortable types such
as
ICollectionView or types that accept custom comparison
functions (e.g., DataGridColumn). | AlphanumSort | ||
| AlphanumSort | () | constructor |
public function AlphanumSort()Constructor.
Creates a new AlphanumSort with no fields set but the a custom comparator set.
| alphanumCompare | () | method |
public static function alphanumCompare(left:Object, right:Object):int
Public function intended to be used directly by sortable types such
as ICollectionView or types that accept custom comparison
functions (e.g., DataGridColumn).
left:Object |
|
right:Object |
int |
See also