Adding sortable columns to patterns index