added sort columns option