Add sorting criteria for all levels

Change-Id: I4c083256105fa4b7924e5efd8c01eebc8fbd361e
diff --git a/t/compile/segment/sort_field_empty.t b/t/compile/segment/sort_field_empty.t
index 4cfc9dd..f7b0c08 100644
--- a/t/compile/segment/sort_field_empty.t
+++ b/t/compile/segment/sort_field_empty.t
@@ -12,7 +12,7 @@
 
 ok($index->introduce_field('id', 'NUM'), 'Introduce field as sortable');
 ok($index->introduce_field('author', 'DE'), 'Introduce field as sortable');
-ok($index->introduce_field('age', 'DE'), 'Introduce field as sortable');
+ok($index->introduce_field('age', 'NUM'), 'Introduce field as sortable');
 
 ok_index($index, {
   id => 2,
@@ -48,7 +48,7 @@
    'Stringification');
 ok($result = $query->compile->inflate($index->dict), 'Run clone');
 is($result->to_string,
-   '[matches=[1:0-1::*,0][0:0-1::*,*][2:0-1::0,*]]',
+   '[matches=[1:0-1::GhA..AA=,3][0:0-1::Gs4..wAA,2][2:0-1::-,1]]',
    'Stringification');
 
 # Sort in reverse order with an empty field
@@ -71,10 +71,9 @@
    'Stringification');
 ok($result = $query->compile->inflate($index->dict), 'Run clone');
 is($result->to_string,
-   '[matches=[0:0-1::*,*][1:0-1::*,0][2:0-1::0,*]]',
+   '[matches=[0:0-1::Gs4..wAA,2][1:0-1::GhA..AA=,3][2:0-1::-,1]]',
    'Stringification');
 
-
 # Sort after with an empty field
 $koral = Krawfish::Koral->new;
 $koral->query($qb->token('aa'));
@@ -99,10 +98,9 @@
 
 ok($result = $clone->compile->inflate($index->dict), 'Run clone');
 is($result->to_string,
-   '[matches=[1:0-1::*,*,0][0:0-1::*,*,*][2:0-1::*,0,*]]',
+   '[matches=[1:0-1::4,GhA..AA=,3][0:0-1::4,Gs4..wAA,2][2:0-1::4,-,1]]',
    'Stringification');
 
-
 # Sort after in reverse order with an empty field
 $koral = Krawfish::Koral->new;
 $koral->query($qb->token('aa'));
@@ -116,10 +114,9 @@
    'Stringification');
 ok($result = $query->compile->inflate($index->dict), 'Run clone');
 is($result->to_string,
-   '[matches=[0:0-1::*,*,*][1:0-1::*,*,0][2:0-1::*,0,*]]',
+   '[matches=[0:0-1::4,Gs4..wAA,2][1:0-1::4,GhA..AA=,3][2:0-1::4,-,1]]',
    'Stringification');
 
 
-
 done_testing;
 __END__