added multiSorting option