configuring sorting