fixes to default sorting
update