Sort update #1

Printing and scroling is now working fine.