adding options argument for sort functionality