Fixed the sorting of whims... maybe