#288 adding junit test

- unfortunately derby doesn't support sorting on blob/clob types