A sorting and pagination example using JavaDB stored procs and servlet