Sort repos