question: public void test_keyBuilder_unicode_order ( ) { final KeyBuilder keyBuilder = ( KeyBuilder ) KeyBuilder . newUnicodeInstance ( getProperties ( ) ) ; final KVO < String > [ ] a = new KVO [ ] { new KVO < String > ( TestKeyBuilder . asSortKey ( "bro" ) , null , "bro" ) , new KVO < String > ( TestKeyBuilder . asSortKey ( "brown" ) , null , "brown" ) , new KVO < String > ( TestKeyBuilder . asSortKey ( "bre" ) , null , "bre" ) , new KVO < String > ( TestKeyBuilder . asSortKey ( "break" ) , null , "break" ) } ; Arrays . sort ( a ) ; assertEquals ( "bre" , a [ 0 ] . obj ) ; assertEquals ( "break" , a [ 1 ] . obj ) ; assertEquals ( "bro" , a [ 2 ] . obj ) ; assertEquals ( "brown" , a [ 3 ] . obj ) ; }
target:  Test verifies the order among unicode sort keys, including verifying that the pad byte causes a prefix such as "bro" to sort before a term which extends that prefix, such as "brown".