added sort links and fixed div tag
fixed typo in migration