Flip sort sprite ascending and descending