figured out shifting, but it sorts before i have a chance to sort