Added better support for sorting by alpha