bubble sort in Transact SQL