Some algorithms for sorting string and integers