Hash tables are inherently unsorted. If you search the forums a bit, you'll find several post like this.
As a cheap workaround, create your table with the size of 1 ("hmake hashtest 1" instead of "hmake hashtest %i") - although I forgot why, it will work. wink