fix minor problem of ascibetical sorting