Implement varing length number and string sort