re-ordered gems