reorder library load