better sorting and field display on index