sort depends on can/list

there is a missing dependency in sort