fix depot-sort