fixed tests due to platform differences

different sort-order on linux to mac