added option to return only selected column or columns
sort bug fixed
assert fixed
test 'entry should be undefined' added