adding default sort criterion and direction