Test sec group sort

I forgot I still had outstanding edits for tabs vs. spaces which messed me up running some tests on vagrant.
So, there's that plus the addition of a sort test and another base method for verify_text_displayed_with_xpath()