Angular7- Sort in Alphabetical Order- Select Dropdown options1 year ago I have a list of commodity items where i have to sort all IDM items in alphabetical order and below that DM items in alphabetical order , rite now my code displays like below order:but i want IDM to display first and next DM Show my code is Source: Angular Questions Share this:
Categories: angular, javascript, typescript Tags: angular, javascript, typescript Leave a Comment AngularJS orderBy Filter
❮ AngularJS Reference
ExampleDisplay the items alphabetically:
<div ng-app="myApp" ng-controller="orderCtrl">
Try it Yourself »
How TO - Sort a List
❮ Previous
Next ❯
Learn how to sort an HTML list, using JavaScript. Click the button to sort the list alphabetically: Sort
Try it Yourself » |