List sort group border fix

+ Some other minor bugs & style changes & code readability updates.