fixed sorting by version, better alignment of buttons