re-add h[sort] for sorting purpose