give data, sorting into a method
scoping resolved for now
add disclaimer and popping data elsewhere for by-hand sorting