added sort methods ascending and descending order