first attempt at sort