Added PanicSort; reformatted.