Reordering resources