Added support for definition default sorting