nh sorting

by @Frankie

Frankie