Sorts the specified tokens and returns an array with offsets to the sorted array. @param values values to sort by (will be sorted as well) @param numeric numeric sort @param ascending ascending @return array containing the order
(final byte[][] values, final boolean numeric,
final boolean ascending)
| 192 | * @return array containing the order |
| 193 | */ |
| 194 | public static int[] createOrder(final byte[][] values, final boolean numeric, |
| 195 | final boolean ascending) { |
| 196 | final IntList il = number(values.length); |
| 197 | il.sort(values, ascending, numeric); |
| 198 | return il.finish(); |
| 199 | } |
| 200 | |
| 201 | /** |
| 202 | * Sorts the specified double values and returns an array with offsets to the sorted array. |