Fixed debug(), sort() and is-symmetrical()
Fixing issue with is-symmetrical()