Arcane, your examples are:
Eb major
Gmin
When learning sweep stuff, it's helpful to learn the inversions of every chord. Emin has 3 notes, so there are 3 different notes that the sweep can start from...E, G or B.
E-G-B (root position):
e-----7-12-7----------------------------------------------
b---8--------8----notice E is the lowest note...the root...---
g-9------------9------------------------------------------
G-B-E (1st inversion)
e-------12-15-12-----------------------------------------
b----12----------12--G is now the lowest note...-----------
g-12----------------12------------------------------------
B-E-G (2nd inversion)
e--------15-19-15-----------------------------------
b-----17----------17--B is now the lowest note...----
g-16-----------------16-----------------------------
Then, you start again, an octave higher.
It's also useful to know WHERE the root note is in each shape for one chord and its inversions.
E-G-B (root position):
e-----7-
12-7----------------------------------------------
b---8--------8-----------------------------------------------
g-
9------------
9------------------------------------------
G-B-E (1st inversion)
e-------
12-15-
12-----------------------------------------
b----12----------12--G -----------------------------------
g-12----------------12------------------------------------
B-E-G (2nd inversion)
e--------15-19-15-----------------------------------
b-----
17----------
17------------------
g-16-----------------16-----------------------------
Theory lesson over.