It's kind of clunky, but you can convert the collection to an array, use the array utility to sort by a column, and then convert it back into a collection:
PHP:
$collection = $collection->toArray();
$collection = \XF\Util\Arr::columnSort($collection, 'column');
$collection = \XF::em()->getBasicCollection($collection);