javascript - Change value of array item when sorting -


i writing tests need check sort order of ng-grid table. values api call put table, sorting on table allows sort ascending , descending expected 'not set' shown @ either top or bottom of table.

my protractor test grabs text value of items in list grab items api response array , sort using javascript check sorting working, 'n' isn't higher 'a' in alphabet, there way make when sort using javascript 'not set' goes top of list?

i'v had search on google cant find maybe i'm using wrong search terms


Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -