Thank you very much for your answer Im sure it will help me very much. But I would also like to know a simpler thing: Just how to sort an internal hash of an HOH numericaly, the beta-keys or whatever one should call them. I have looked at some examples but, not found what Im looking for, maybee it is so easy nobody cares to make examples of it.