moved data to model. added high/low sort function

moved data to model. added high/low sort functionality