Ordering repositories