fixes for #17 (sorting) and #19 (axes with '-')