moved sgfilter functions to their own file. decided to settle on long as the sole input type. i may regret this later
added functionality for a few basic sort types
updated readme