updated order-by to be lazy; uses bubble sort

- order by is now properly lazy
- it uses bubble sort, which is intuitive but slow. might have to change
this to some sort of heuristic, or just merge sort on first call to
"next"