set appropriate default sorting, fix #81