Implement LSD string sort