Added defaultSort option, which is applied if no sorting option is set