My hash automatically sort the data on key.
Hashes are mappings from text to scalar, they do not have any order or
sequence. Claiming a hash is sorted is like saying the length() function
(which maps from text to natural numbers) is sorted.
What you might be seeing is that when printing the keys of the hash they
happen to be printed in some sorted order. While this is not totally
impossible the probability of this happening is extremely(!) low.
I do not want to sort data
Hashes by definition don't. On the contrary, for better data management they
deliberately pseudo-randomize the keys.
I just want to store the data in the way I store it.
Then don't use a hash. Hashes don't have sequences or orders.
Sure. Use an array.
jue