Fix package sorting
Defer TRAMP loading