reorder libs