-bubbleSort method & compareSeed method