sortAsc and sortDsc methods added