moved swap() to the super sort test class