Functioning (probably buggy) prototype for link based orderby/limit/offset.