sort algorithm assembly