clean up AkCollator#compare
some new methods to deal with bytes instead of strings when needed