Edited Sort.erl