"Ordering the party or attorney to pay the attorney's fees and other costs caused by the failure or misconduct; and" . . . .