added sort columns option

Added sort option form column names.