Sort block list by height

Fixes #19.