Changed configuration and added sort operation.