Hi !
I noticed that the smokeParticles sample in SDK only sorts floats or integers. Would it be possible to modify it somehow to sort strings ?
I think it’s a bit troublesome. First of all radix sort is use to sort numbers of fixed length, for example 32bit integer. but string length is not
fixed.
However you could find a hash function integer f such that:String A > String B => f(A)>f(B), and then use radix sort the value of function f.
Another method may work is filling the string to a fixed length. But if the length is greater than 32, you must change the smokeParticles code
,they only fit to 32bit.